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. Built from https://develop.svn.wordpress.org/trunk@49323 git-svn-id: http://core.svn.wordpress.org/trunk@49084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6275885400
commit
18ee84c5c2
@ -3700,8 +3700,8 @@
|
|||||||
parentContainer = ( section.contentContainer.is( 'ul' ) ) ? section.contentContainer : section.contentContainer.find( 'ul:first' );
|
parentContainer = ( section.contentContainer.is( 'ul' ) ) ? section.contentContainer : section.contentContainer.find( 'ul:first' );
|
||||||
if ( ! control.container.parent().is( parentContainer ) ) {
|
if ( ! control.container.parent().is( parentContainer ) ) {
|
||||||
parentContainer.append( control.container );
|
parentContainer.append( control.container );
|
||||||
control.renderContent();
|
|
||||||
}
|
}
|
||||||
|
control.renderContent();
|
||||||
control.deferred.embedded.resolve();
|
control.deferred.embedded.resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
2
wp-admin/js/customize-controls.min.js
vendored
2
wp-admin/js/customize-controls.min.js
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-beta1-49322';
|
$wp_version = '5.6-beta1-49323';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user