Accessibility: Remove inappropriate content from the Edit Categories and Edit Tags screens headings.

See #26601.

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


git-svn-id: http://core.svn.wordpress.org/trunk@39493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-12-09 20:50:41 +00:00
parent 9d474c8206
commit 10819d629f
2 changed files with 6 additions and 3 deletions

View File

@ -290,13 +290,16 @@ if ( is_plugin_active( 'wpcat2tag-importer/wpcat2tag-importer.php' ) ) {
?>
<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'] ) ) {
/* translators: %s: search keywords */
printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) );
}
?>
</h1>
<hr class="wp-header-end">
<?php if ( $message ) : ?>
<div id="message" class="<?php echo $class; ?> notice is-dismissible"><p><?php echo $message; ?></p></div>

View File

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