Forum Replies Created
-
In reply to: HTTPS-Problems: header-image stays as http, when using custom image
October 28, 2010 at 12:42 pm #11058I’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
Viewing 1 post (of 1 total)
