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

  • thajekku

    #11058

    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 1.0.9.3

    Admin

    Syahir Hakim

    #11059

    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)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!