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:
parent
c7b8c49bfc
commit
25f40667d0
@ -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 “%s”' ),
|
||||
@ -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'] ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user