Accessibility: Remove inappropriate content from the Edit Categories and Edit Tags screens headings.
See #26601. git-svn-id: https://develop.svn.wordpress.org/trunk@39553 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
25f40667d0
commit
7b7914a99f
@ -290,13 +290,16 @@ if ( is_plugin_active( 'wpcat2tag-importer/wpcat2tag-importer.php' ) ) {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap nosubsub">
|
<div class="wrap nosubsub">
|
||||||
<h1><?php echo esc_html( $title );
|
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
|
||||||
|
|
||||||
|
<?php
|
||||||
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
|
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
|
||||||
/* translators: %s: search keywords */
|
/* translators: %s: search keywords */
|
||||||
printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) );
|
printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</h1>
|
|
||||||
|
<hr class="wp-header-end">
|
||||||
|
|
||||||
<?php if ( $message ) : ?>
|
<?php if ( $message ) : ?>
|
||||||
<div id="message" class="<?php echo $class; ?> notice is-dismissible"><p><?php echo $message; ?></p></div>
|
<div id="message" class="<?php echo $class; ?> notice is-dismissible"><p><?php echo $message; ?></p></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user