Make WordPress Core


Ignore:
Timestamp:
05/18/2012 08:22:57 PM (12 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r20806 r20830  
    334334            if ( !empty( $header['attachment_id'] ) )
    335335                $width = ' width="230"';
    336             echo '<img src="' . $header_thumbnail . '" alt="' . esc_attr( $header_desc ) .'" title="' . esc_attr( $header_desc ) . '"' . $width . ' /></label>';
     336            echo '<img src="' . set_url_scheme( $header_thumbnail ) . '" alt="' . esc_attr( $header_desc ) .'" title="' . esc_attr( $header_desc ) . '"' . $width . ' /></label>';
    337337            echo '</div>';
    338338        }
Note: See TracChangeset for help on using the changeset viewer.