Accessibility: Remove inappropriate content from the Link Manager screens headings.
See #26601. Built from https://develop.svn.wordpress.org/trunk@39537 git-svn-id: http://core.svn.wordpress.org/trunk@39477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
64f63499f8
commit
2c227839d4
|
@ -70,7 +70,13 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<h1><?php echo esc_html( $title ); ?> <a href="link-add.php" class="page-title-action"><?php echo esc_html_x('Add New', 'link'); ?></a></h1>
|
||||
<h1 class="wp-heading-inline"><?php
|
||||
echo esc_html( $title );
|
||||
?></h1>
|
||||
|
||||
<a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<?php if ( isset( $_GET['added'] ) ) : ?>
|
||||
<div id="message" class="updated notice is-dismissible"><p><?php _e('Link added.'); ?></p></div>
|
||||
|
|
|
@ -79,13 +79,20 @@ if ( ! current_user_can('manage_links') )
|
|||
?>
|
||||
|
||||
<div class="wrap nosubsub">
|
||||
<h1><?php echo esc_html( $title ); ?> <a href="link-add.php" class="page-title-action"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php
|
||||
<h1 class="wp-heading-inline"><?php
|
||||
echo esc_html( $title );
|
||||
?></h1>
|
||||
|
||||
<a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
|
||||
|
||||
<?php
|
||||
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
|
||||
/* translators: %s: search keywords */
|
||||
printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( wp_unslash( $_REQUEST['s'] ) ) );
|
||||
}
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<?php
|
||||
if ( isset($_REQUEST['deleted']) ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39536';
|
||||
$wp_version = '4.8-alpha-39537';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue