From 27bc2d9db6bca35045c264d588c6df77b99ce6b5 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 7 Dec 2016 18:47:47 +0000 Subject: [PATCH] Accessibility: Remove inappropriate content from the Plugins screen heading. See #26601. git-svn-id: https://develop.svn.wordpress.org/trunk@39535 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/updates.js | 2 +- src/wp-admin/plugins.php | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/js/updates.js b/src/wp-admin/js/updates.js index 400842ebd4..91e9d54d02 100644 --- a/src/wp-admin/js/updates.js +++ b/src/wp-admin/js/updates.js @@ -2259,7 +2259,7 @@ } else if ( $oldSubTitle.length ) { $oldSubTitle.replaceWith( $subTitle ); } else { - $( '.wrap h1' ).append( $subTitle ); + $( '.wp-header-end' ).before( $subTitle ); } $( 'body' ).removeClass( 'loading-content' ); diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php index ae5ea58c50..2eeea4eb9f 100644 --- a/src/wp-admin/plugins.php +++ b/src/wp-admin/plugins.php @@ -491,9 +491,13 @@ if ( ! empty( $invalid ) ) {
-

+ + - + ' . __( 'Search results for “%s”' ) . '', esc_html( urldecode( $s ) ) ); } ?> - + +