Make WordPress Core

Ticket #30358: 30358-choice-a.diff

File 30358-choice-a.diff, 1.3 KB (added by philiparthurmoore, 10 years ago)
  • wp-content/themes/twentyfifteen/inc/customizer.php

     
    1818        $color_scheme = twentyfifteen_get_color_scheme();
    1919
    2020        $wp_customize->get_setting( 'blogname' )->transport        = 'postMessage';
    21         $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
    2221
    2322        // Add color scheme setting and control.
    2423        $wp_customize->add_setting( 'color_scheme', array(
  • wp-content/themes/twentyfifteen/js/customize-preview.js

     
    11/**
    2  * Live-update changed settings in real time in the Customizer preview. 
     2 * Live-update changed settings in real time in the Customizer preview.
    33 */
    44
    55( function( $ ) {
     
    1717                } );
    1818        } );
    1919
    20         // Site tagline.
    21         wp.customize( 'blogdescription', function( value ) {
    22                 value.bind( function( to ) {
    23                         $( '.site-description' ).text( to );
    24                 } );
    25         } );
    26 
    2720        // Color Scheme CSS.
    2821        wp.customize( 'color_scheme_css', function( value ) {
    2922                value.bind( function( to ) {