wp core update 6.6
This commit is contained in:
@@ -158,7 +158,7 @@ wp.mediaWidgets = ( function( $ ) {
|
||||
}
|
||||
} else {
|
||||
if ( ! noticeContainer.length ) {
|
||||
noticeContainer = $( '<div class="media-widget-embed-notice notice notice-error notice-alt"></div>' );
|
||||
noticeContainer = $( '<div class="media-widget-embed-notice notice notice-error notice-alt" role="alert"></div>' );
|
||||
noticeContainer.hide();
|
||||
embedLinkView.views.parent.$el.prepend( noticeContainer );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user