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/ms-delete-site.php

    r32381 r32974  
    3333
    3434echo '<div class="wrap">';
    35 echo '<h2>' . esc_html( $title ) . '</h2>';
     35echo '<h1>' . esc_html( $title ) . '</h1>';
    3636
    3737if ( isset( $_POST['action'] ) && $_POST['action'] == 'deleteblog' && isset( $_POST['confirmdelete'] ) && $_POST['confirmdelete'] == '1' ) {
Note: See TracChangeset for help on using the changeset viewer.