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/media.php

    r32116 r32974  
    104104
    105105<div class="wrap">
    106 <h2>
     106<h1>
    107107<?php
    108108echo esc_html( $title );
     
    110110    <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a>
    111111<?php } ?>
    112 </h2>
     112</h1>
    113113
    114114<form method="post" class="media-upload-form" id="media-single-form">
Note: See TracChangeset for help on using the changeset viewer.