Make WordPress Core


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

    r32792 r32974  
    313313
    314314<div class="wrap nosubsub">
    315 <h2><?php echo esc_html( $title );
     315<h1><?php echo esc_html( $title );
    316316if ( !empty($_REQUEST['s']) )
    317317    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
    318 </h2>
     318</h1>
    319319
    320320<?php if ( $message ) : ?>
Note: See TracChangeset for help on using the changeset viewer.