Skip to content

Commit b0bb009

Browse files
Merge branch '64619-deprecated-wp-updates-l10n' of https://github.com/manishdhorepatil-art/wordpress-develop into 64619-deprecated-wp-updates-l10n
2 parents db2ee45 + 551f045 commit b0bb009

23 files changed

Lines changed: 270 additions & 9277 deletions

File tree

src/js/_enqueues/wp/widgets/custom-html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ wp.customHtmlWidgets = ( function( $ ) {
333333
* This ensures that the textarea is visible and the editor can be initialized.
334334
*/
335335
renderWhenAnimationDone = function() {
336-
if ( ! ( wp.customize ? widgetContainer.parent().hasClass( 'expanded' ) : widgetContainer.hasClass( 'open' ) ) ) { // Core merge: The wp.customize condition can be eliminated with this change being in core: https://github.com/xwp/wordpress-develop/pull/247/commits/5322387d
336+
if ( ! ( wp.customize ? widgetContainer.parent().hasClass( 'expanded' ) : widgetContainer.hasClass( 'open' ) ) ) { // Core merge: The wp.customize condition can be eliminated with this change being in core: https://core.trac.wordpress.org/changeset/41260
337337
setTimeout( renderWhenAnimationDone, animatedCheckDelay );
338338
} else {
339339
widgetControl.initializeEditor();

src/js/media/views/media-frame.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
101101
tabPanelEl = this.$el.find( '.media-frame-tab-panel' ),
102102
ariaLabelledby;
103103

104-
tabPanelEl.removeAttr( 'role aria-labelledby tabindex' );
104+
tabPanelEl.removeAttr( 'role aria-labelledby' );
105105

106106
if ( this.state().get( 'menu' ) && this.menuView && this.menuView.isVisible ) {
107107
ariaLabelledby = 'menu-item-' + stateId;
@@ -111,7 +111,6 @@ MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
111111
.attr( {
112112
role: 'tabpanel',
113113
'aria-labelledby': ariaLabelledby,
114-
tabIndex: '0'
115114
} );
116115
}
117116
},
@@ -127,7 +126,7 @@ MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
127126
var tabPanelEl = this.$el.find( '.media-frame-content' ),
128127
ariaLabelledby;
129128

130-
tabPanelEl.removeAttr( 'role aria-labelledby tabindex' );
129+
tabPanelEl.removeAttr( 'role aria-labelledby' );
131130

132131
// Set the tab panel attributes only if the tabs are visible.
133132
if ( this.state().get( 'router' ) && this.routerView && this.routerView.isVisible && this.content._mode ) {
@@ -137,7 +136,6 @@ MediaFrame = Frame.extend(/** @lends wp.media.view.MediaFrame.prototype */{
137136
.attr( {
138137
role: 'tabpanel',
139138
'aria-labelledby': ariaLabelledby,
140-
tabIndex: '0'
141139
} );
142140
}
143141
},

src/wp-content/themes/twentynineteen/inc/template-tags.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function twentynineteen_entry_footer() {
9292
/* translators: Hidden accessibility text. */
9393
__( 'Posted in', 'twentynineteen' ),
9494
$categories_list
95-
); // WPCS: XSS OK.
95+
);
9696
}
9797

9898
$tags_list = get_the_tag_list( '', wp_get_list_item_separator() );
@@ -104,7 +104,7 @@ function twentynineteen_entry_footer() {
104104
/* translators: Hidden accessibility text. */
105105
__( 'Tags:', 'twentynineteen' ),
106106
$tags_list
107-
); // WPCS: XSS OK.
107+
);
108108
}
109109
}
110110

0 commit comments

Comments
 (0)