Customize: Ensure the New Menu section is properly rendered.
Follow-up to [30102], [49101]. Props david.binda, boldgrid, dlh, azaozz, Clorith, westonruter, hellofromTonya. Fixes #51592. git-svn-id: https://develop.svn.wordpress.org/trunk@49323 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fff225ed0b
commit
89e10133e3
2
src/js/_enqueues/wp/customize/controls.js
vendored
2
src/js/_enqueues/wp/customize/controls.js
vendored
@ -3700,8 +3700,8 @@
|
||||
parentContainer = ( section.contentContainer.is( 'ul' ) ) ? section.contentContainer : section.contentContainer.find( 'ul:first' );
|
||||
if ( ! control.container.parent().is( parentContainer ) ) {
|
||||
parentContainer.append( control.container );
|
||||
control.renderContent();
|
||||
}
|
||||
control.renderContent();
|
||||
control.deferred.embedded.resolve();
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user