mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 16:41:44 +01:00
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:
parent
b27543461d
commit
a816a24b9c
@ -332,7 +332,7 @@ class Custom_Image_Header {
|
|||||||
if ( ! empty( $header['attachment_id'] ) ) {
|
if ( ! empty( $header['attachment_id'] ) ) {
|
||||||
$width = ' width="230"';
|
$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>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user