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/plugin-editor.php

    r32116 r32974  
    2929    ?>
    3030    <div class="wrap">
    31         <h2><?php echo esc_html( $title ); ?></h2>
     31        <h1><?php echo esc_html( $title ); ?></h1>
    3232        <div id="message" class="error"><p><?php _e( 'You do not appear to have any plugins available at this time.' ); ?></p></div>
    3333    </div>
     
    175175<?php endif; ?>
    176176<div class="wrap">
    177 <h2><?php echo esc_html( $title ); ?></h2>
     177<h1><?php echo esc_html( $title ); ?></h1>
    178178
    179179<div class="fileedit-sub">
Note: See TracChangeset for help on using the changeset viewer.