mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 04:04:35 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@32974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -214,7 +214,7 @@ case 'delete':
|
||||
<?php echo $referer; ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Delete Users'); ?></h2>
|
||||
<h1><?php _e( 'Delete Users' ); ?></h1>
|
||||
<?php if ( isset( $_REQUEST['error'] ) ) : ?>
|
||||
<div class="error">
|
||||
<p><strong><?php _e( 'ERROR:' ); ?></strong> <?php _e( 'Please select an option.' ); ?></p>
|
||||
@@ -336,7 +336,7 @@ case 'remove':
|
||||
<?php echo $referer; ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Remove Users from Site'); ?></h2>
|
||||
<h1><?php _e( 'Remove Users from Site' ); ?></h1>
|
||||
<p><?php _e('You have specified these users for removal:'); ?></p>
|
||||
<ul>
|
||||
<?php
|
||||
@@ -443,7 +443,7 @@ if ( ! empty($messages) ) {
|
||||
} ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2>
|
||||
<h1>
|
||||
<?php
|
||||
echo esc_html( $title );
|
||||
if ( current_user_can( 'create_users' ) ) { ?>
|
||||
@@ -454,7 +454,7 @@ if ( current_user_can( 'create_users' ) ) { ?>
|
||||
|
||||
if ( $usersearch )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $usersearch ) ); ?>
|
||||
</h2>
|
||||
</h1>
|
||||
|
||||
<?php $wp_list_table->views(); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user