From c05f1dc805bddcc0e76fd90c4aaf2d9ea76dc0fb Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 9 Dec 2016 18:57:42 +0000 Subject: [PATCH] Accessibility: Remove inappropriate content from the Network screens headings. See #26601. Built from https://develop.svn.wordpress.org/trunk@39551 git-svn-id: http://core.svn.wordpress.org/trunk@39491 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/my-sites.php | 9 ++++++--- wp-admin/network/sites.php | 8 +++++--- wp-admin/network/themes.php | 11 +++++++++-- wp-admin/network/users.php | 7 +++++-- wp-includes/version.php | 2 +- 5 files changed, 26 insertions(+), 11 deletions(-) diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php index 2478b39b12..31c5bce4d7 100644 --- a/wp-admin/my-sites.php +++ b/wp-admin/my-sites.php @@ -55,23 +55,26 @@ if ( $updated ) { ?>
-

+%s', esc_url( $sign_up_url ), esc_html_x( 'Add New', 'site' ) ); } -?> -'; _e( 'You must be a member of at least one site to use this page.' ); echo '

'; else : ?> + +
+
-

+

@@ -297,8 +297,10 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { /* translators: %s: search keywords */ printf( '' . __( 'Search results for “%s”' ) . '', esc_html( $s ) ); -} ?> - +} +?> + +
diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index baaa6d8029..2b22847760 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -247,13 +247,20 @@ require_once(ABSPATH . 'wp-admin/admin-header.php'); ?>
-

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

+ + ' . __( 'Search results for “%s”' ) . '', esc_html( $usersearch ) ); } ?> - + +
views(); ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index d4443c7f45..e2bddb3bbf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-39550'; +$wp_version = '4.8-alpha-39551'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.