Widgets: Add missing `label` and `description` to Customizer controls.
This fixes a bug where the “Move To” dialogue was empty when a theme has multiple widget areas. Props kevin940726, noisysocks, hellofromTonya. Fixes #53487. Built from https://develop.svn.wordpress.org/trunk@51228 git-svn-id: http://core.svn.wordpress.org/trunk@50837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
936a38255b
commit
90790365ba
|
@ -480,8 +480,10 @@ final class WP_Customize_Widgets {
|
|||
$this->manager,
|
||||
$setting_id,
|
||||
array(
|
||||
'section' => $section_id,
|
||||
'sidebar_id' => $sidebar_id,
|
||||
'section' => $section_id,
|
||||
'sidebar_id' => $sidebar_id,
|
||||
'label' => $section_args['title'],
|
||||
'description' => $section_args['description'],
|
||||
)
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-beta3-51227';
|
||||
$wp_version = '5.8-beta3-51228';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue