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">
|
<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 “%s”' ),
|
printf( __( 'Comments on “%s”' ),
|
||||||
@ -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'] ) ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user