My default custom header image’s URL contains https:// when output by
header_image()– but I don’t want that to happen.
I have modified Twenty Ten’s functions.php as follows:
register_default_headers( array( 'placeholder' => array( 'url' => '%s/images/headers/main.jpg', 'thumbnail_url' => '%s/images/headers/main-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Placeholder Only', 'mytheme' ) ) ) );
So it seem the
%spath is being SSL’d? I have my admin area secured using FORCE_SSL_ADMIN… but how would that cause this?
- The topic ‘Unwanted Security: why https:// on default theme headers? – modified Twenty Ten’ is closed to new replies.