WordPress.org

Make WordPress Core

Ticket #30409: 30409.diff

File 30409.diff, 590 bytes (added by iamtakashi, 7 years ago)

Remove Sanitization Callback from Color Scheme CSS setting.

  • src/wp-content/themes/twentyfifteen/inc/customizer.php

     
    2828        ) );
    2929
    3030        $wp_customize->add_setting( 'color_scheme_css', array(
    31                 'default'           => '',
    32                 'sanitize_callback' => 'esc_html',
    33                 'transport'         => 'postMessage',
     31                'default'   => '',
     32                'transport' => 'postMessage',
    3433        ) );
    3534
    3635        $wp_customize->add_control( 'color_scheme', array(