Make WordPress Core


Ignore:
Timestamp:
06/27/2015 03:40:27 PM (10 years ago)
Author:
obenland
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/users.php

    r32116 r32974  
    215215
    216216<div class="wrap">
    217 <h2><?php _e('Delete Users'); ?></h2>
     217<h1><?php _e( 'Delete Users' ); ?></h1>
    218218<?php if ( isset( $_REQUEST['error'] ) ) : ?>
    219219    <div class="error">
     
    337337
    338338<div class="wrap">
    339 <h2><?php _e('Remove Users from Site'); ?></h2>
     339<h1><?php _e( 'Remove Users from Site' ); ?></h1>
    340340<p><?php _e('You have specified these users for removal:'); ?></p>
    341341<ul>
     
    444444
    445445<div class="wrap">
    446 <h2>
     446<h1>
    447447<?php
    448448echo esc_html( $title );
     
    455455if ( $usersearch )
    456456    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( $usersearch ) ); ?>
    457 </h2>
     457</h1>
    458458
    459459<?php $wp_list_table->views(); ?>
Note: See TracChangeset for help on using the changeset viewer.