mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 02:22:25 +01:00
Theme Customizer: Fix postMessage for background_color. The method parameter affects settings, not controls. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4d703df740
commit
1a03f9af0d
@ -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…
x
Reference in New Issue
Block a user