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/user-new.php

    r32654 r32974  
    238238?>
    239239<div class="wrap">
    240 <h2 id="add-new-user"> <?php
     240<h1 id="add-new-user"><?php
    241241if ( current_user_can( 'create_users' ) ) {
    242242    echo _x( 'Add New User', 'user' );
     
    244244    echo _x( 'Add Existing User', 'user' );
    245245} ?>
    246 </h2>
     246</h1>
    247247
    248248<?php if ( isset($errors) && is_wp_error( $errors ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.