From d583c5ecfc2a0d3fcbe786a340d81f700c7ffe1c Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 28 Oct 2014 16:25:18 +0000 Subject: [PATCH] Twenty Fifteen: escape variable in HTML attribute output in customer header. See #30133. Built from https://develop.svn.wordpress.org/trunk@30044 git-svn-id: http://core.svn.wordpress.org/trunk@30044 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/inc/custom-header.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentyfifteen/inc/custom-header.php b/wp-content/themes/twentyfifteen/inc/custom-header.php index bdcaef9c17..5cb92fe807 100644 --- a/wp-content/themes/twentyfifteen/inc/custom-header.php +++ b/wp-content/themes/twentyfifteen/inc/custom-header.php @@ -149,13 +149,13 @@ if ( ! function_exists( 'twentyfifteen_admin_header_image' ) ) : * @see twentyfifteen_custom_header_setup(). */ function twentyfifteen_admin_header_image() { - $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); + $style = sprintf( ' style="color: #%s;"', get_header_textcolor() ); $color_scheme = twentyfifteen_get_color_scheme(); $header_background_color = get_theme_mod( 'header_background_color', $color_scheme[1] ); ?>
-

onclick="return false;" href="">

-
>
+

onclick="return false;" href="">

+
>