From 01cd41c3af0d4dc42485fe643ff9eb4a03263fa3 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 28 Oct 2014 16:24:27 +0000 Subject: [PATCH] Twenty Fifteen: escape variable in HTML attribute output in customer header. See #30133. git-svn-id: https://develop.svn.wordpress.org/trunk@30044 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/inc/custom-header.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyfifteen/inc/custom-header.php b/src/wp-content/themes/twentyfifteen/inc/custom-header.php index bdcaef9c17..5cb92fe807 100644 --- a/src/wp-content/themes/twentyfifteen/inc/custom-header.php +++ b/src/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="">

+
>