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:
Sergey Biryukov 2020-10-27 02:48:06 +00:00
parent 6275885400
commit 18ee84c5c2
3 changed files with 3 additions and 3 deletions

View File

@ -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();
}); });
}); });

File diff suppressed because one or more lines are too long

View File

@ -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.