Twenty Fifteen: escaping here breaks color schemes.

Props celloexpressions, iamtakashi, fixes #30409.



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


git-svn-id: http://core.svn.wordpress.org/trunk@30394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ian Stewart 2014-11-20 01:35:24 +00:00
parent d4a36f2c7a
commit de060dcfee
1 changed files with 2 additions and 3 deletions

View File

@ -28,9 +28,8 @@ function twentyfifteen_customize_register( $wp_customize ) {
) ); ) );
$wp_customize->add_setting( 'color_scheme_css', array( $wp_customize->add_setting( 'color_scheme_css', array(
'default' => '', 'default' => '',
'sanitize_callback' => 'esc_html', 'transport' => 'postMessage',
'transport' => 'postMessage',
) ); ) );
$wp_customize->add_control( 'color_scheme', array( $wp_customize->add_control( 'color_scheme', array(