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:
parent
d4a36f2c7a
commit
de060dcfee
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue