Coding Standards: Add missing escaping function in Custom_Image_Header::show_header_selector().

Props chintan1896, SergeyBiryukov.
Fixes #57638.

Built from https://develop.svn.wordpress.org/trunk@55240


git-svn-id: http://core.svn.wordpress.org/trunk@54773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-06 21:36:17 +00:00
parent b27543461d
commit a816a24b9c
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-55239';
$wp_version = '6.2-alpha-55240';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.