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:
parent
3c1ed96efe
commit
57bd0ee2a5
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue