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

git-svn-id: http://svn.automattic.com/wordpress/trunk@20297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2012-03-28 08:55:25 +00:00
parent 3c1ed96efe
commit 57bd0ee2a5
1 changed files with 2 additions and 2 deletions

View File

@ -390,8 +390,8 @@
});
// Background color uses postMessage by default
api.control( 'background_color', function( control ) {
control.method = 'postMessage';
api( 'background_color', function( setting ) {
setting.method = 'postMessage';
});
api.control( 'display_header_text', function( control ) {