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

    r32116 r32974  
    6666?>
    6767<div class="wrap">
    68     <h2><?php echo esc_html( $title ); ?></h2>
     68    <h1><?php echo esc_html( $title ); ?></h1>
    6969
    7070    <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-new.php'); ?>" class="<?php echo esc_attr( $form_class ); ?>" id="file-form">
Note: See TracChangeset for help on using the changeset viewer.