WordPress.org

Make WordPress Core

Changeset 20297


Ignore:
Timestamp:
03/28/2012 08:55:25 AM (8 years ago)
Author:
koopersmith
Message:

Theme Customizer: Fix postMessage for background_color. The method parameter affects settings, not controls. see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/customize-controls.dev.js

    r20295 r20297  
    391391
    392392        // Background color uses postMessage by default
    393         api.control( 'background_color', function( control ) {
    394             control.method = 'postMessage';
     393        api( 'background_color', function( setting ) {
     394            setting.method = 'postMessage';
    395395        });
    396396
Note: See TracChangeset for help on using the changeset viewer.