Unwanted Security: why https:// on default theme headers? - modified Twenty Ten (1 post)

  1. tirussell
    Posted 6 years ago #

    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 %s path is being SSL'd? I have my admin area secured using FORCE_SSL_ADMIN... but how would that cause this?

Topic Closed

This topic has been closed to new replies.

About this Topic