set_url_scheme() for header and background image srcs. see #20702

git-svn-id: https://develop.svn.wordpress.org/trunk@20830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-05-18 20:22:57 +00:00
parent 9c2fe1c948
commit bb4ab7e842
3 changed files with 7 additions and 7 deletions

View File

@@ -333,7 +333,7 @@ class Custom_Image_Header {
$width = '';
if ( !empty( $header['attachment_id'] ) )
$width = ' width="230"';
echo '<img src="' . $header_thumbnail . '" alt="' . esc_attr( $header_desc ) .'" title="' . esc_attr( $header_desc ) . '"' . $width . ' /></label>';
echo '<img src="' . set_url_scheme( $header_thumbnail ) . '" alt="' . esc_attr( $header_desc ) .'" title="' . esc_attr( $header_desc ) . '"' . $width . ' /></label>';
echo '</div>';
}
echo '<div class="clear"></div></div>';