Make WordPress Core


Ignore:
Timestamp:
06/27/2015 03:40:27 PM (11 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/includes/class-wp-upgrader-skins.php

    r32965 r32974  
    8585                $this->done_header = true;
    8686                echo '<div class="wrap">';
    87                 echo '<h2>' . $this->options['title'] . '</h2>';
     87                echo '<h1>' . $this->options['title'] . '</h1>';
    8888        }
    8989
Note: See TracChangeset for help on using the changeset viewer.