Proper heading for admin screens.
First step towards restoring a good heading structure in wp-admin. The previous `<h1>` contained the site title and a link to the front page and was removed with the toolbar refactoring in 3.2. Props joedolson, afercia. Fixes #31650. Built from https://develop.svn.wordpress.org/trunk@32974 git-svn-id: http://core.svn.wordpress.org/trunk@32945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -69,10 +69,10 @@ if ( ! current_user_can('manage_links') )
|
||||
?>
|
||||
|
||||
<div class="wrap nosubsub">
|
||||
<h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php
|
||||
<h1><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php
|
||||
if ( !empty($_REQUEST['s']) )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
|
||||
</h2>
|
||||
</h1>
|
||||
|
||||
<?php
|
||||
if ( isset($_REQUEST['deleted']) ) {
|
||||
|
||||
Reference in New Issue
Block a user