diff --git a/wp-content/themes/twentyfifteen/inc/custom-header.php b/wp-content/themes/twentyfifteen/inc/custom-header.php index 5cb92fe807..30c34e6999 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;"', esc_attr( get_header_textcolor() ) ); $color_scheme = twentyfifteen_get_color_scheme(); $header_background_color = get_theme_mod( 'header_background_color', $color_scheme[1] ); ?>