Accessibility: Remove inappropriate content from the Edit Comments screen heading.

See #26601.

Built from https://develop.svn.wordpress.org/trunk@39552


git-svn-id: http://core.svn.wordpress.org/trunk@39492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-12-09 18:59:40 +00:00
parent c05f1dc805
commit 9d474c8206
2 changed files with 7 additions and 3 deletions

View File

@ -194,7 +194,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
?> ?>
<div class="wrap"> <div class="wrap">
<h1><?php <h1 class="wp-heading-inline"><?php
if ( $post_id ) { if ( $post_id ) {
/* translators: %s: link to post */ /* translators: %s: link to post */
printf( __( 'Comments on &#8220;%s&#8221;' ), printf( __( 'Comments on &#8220;%s&#8221;' ),
@ -206,7 +206,9 @@ if ( $post_id ) {
} else { } else {
_e( 'Comments' ); _e( 'Comments' );
} }
?></h1>
<?php
if ( isset($_REQUEST['s']) && strlen( $_REQUEST['s'] ) ) { if ( isset($_REQUEST['s']) && strlen( $_REQUEST['s'] ) ) {
echo '<span class="subtitle">'; echo '<span class="subtitle">';
/* translators: %s: search keywords */ /* translators: %s: search keywords */
@ -215,7 +217,9 @@ if ( isset($_REQUEST['s']) && strlen( $_REQUEST['s'] ) ) {
); );
echo '</span>'; echo '</span>';
} }
?></h1> ?>
<hr class="wp-header-end">
<?php <?php
if ( isset( $_REQUEST['error'] ) ) { if ( isset( $_REQUEST['error'] ) ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-39551'; $wp_version = '4.8-alpha-39552';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.