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

See #26601.


git-svn-id: https://develop.svn.wordpress.org/trunk@39552 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2016-12-09 18:58:51 +00:00
parent c7b8c49bfc
commit 25f40667d0
1 changed files with 6 additions and 2 deletions

View File

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