Make WordPress Core


Ignore:
Timestamp:
06/27/2015 03:40:27 PM (9 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-edit.php

    r32799 r32974  
    203203
    204204<div class="wrap" id="profile-page">
    205 <h2>
     205<h1>
    206206<?php
    207207echo esc_html( $title );
     
    213213    <?php }
    214214} ?>
    215 </h2>
     215</h1>
    216216<form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post" novalidate="novalidate"<?php
    217217    /**
Note: See TracChangeset for help on using the changeset viewer.