HTTPS-Problems: header-image stays as http, when using custom image

  • thajekku


    I’m also having a problem with the header image url starting with httpss://.

    I commented out the following code section and it seems to work properly for both http and https

    /* Check if the page uses SSL and change HTTP to HTTPS if true */

    if (is_ssl() && !stripos($header_img, ‘https’)){

    $header_img = str_replace(‘http’, ‘https’, $header_img);


    There was mention above of an if_ssl() function but this one here is is_ssl() which I think is a php built in function. I tried changing the is_ssl() to if_ssl() but that just broke the page. Commenting the above code section in the header.php seems to make things work properly. Don’t know if this is important but I am using a sub-folder multisite setup with WP 3.0.1 and have define(‘FORCE_SSL_ADMIN’, true); in my wp-config.php

    Should also probably mention using Graphene


    Syahir Hakim


    It seems like more people are adversely affected by this change than benefited by it. I’m gonna remove this code in the next maintenance update, until a better solution can be found.

Viewing 2 posts - 11 through 12 (of 12 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.
Graphene Themes Forum