Widgets: Show title and media select fields in Accessibility Mode.

This updates the Custom HTML and Media widgets to display the correct fields when adding or editing a widget when using accessibility mode through the Classic Widgets experience.

Follow up to [49973].

Props mark-k, sabernhardt, alexstine, circlecube, audrasjb.
Fixes #53641.
Built from https://develop.svn.wordpress.org/trunk@51701


git-svn-id: http://core.svn.wordpress.org/trunk@51307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2021-08-31 13:51:00 +00:00
parent 892c8ecbdb
commit e91f690333
5 changed files with 5 additions and 5 deletions

View File

@ -356,7 +356,7 @@ wp.customHtmlWidgets = ( function( $ ) {
return;
}
idBase = widgetForm.find( '> .widget-control-actions > .id_base' ).val();
idBase = widgetForm.find( '.id_base' ).val();
if ( -1 === component.idBases.indexOf( idBase ) ) {
return;
}

File diff suppressed because one or more lines are too long

View File

@ -1212,7 +1212,7 @@ wp.mediaWidgets = ( function( $ ) {
return;
}
idBase = widgetForm.find( '> .widget-control-actions > .id_base' ).val();
idBase = widgetForm.find( '.id_base' ).val();
ControlConstructor = component.controlConstructors[ idBase ];
if ( ! ControlConstructor ) {

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51700';
$wp_version = '5.9-alpha-51701';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.