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/custom-header.php

    r32913 r32974  
    447447
    448448<div class="wrap">
    449 <h2><?php _e( 'Custom Header' ); ?></h2>
     449<h1><?php _e( 'Custom Header' ); ?></h1>
    450450
    451451<?php if ( current_user_can( 'customize' ) ) { ?>
     
    755755
    756756<div class="wrap">
    757 <h2><?php _e( 'Crop Header Image' ); ?></h2>
     757<h1><?php _e( 'Crop Header Image' ); ?></h1>
    758758
    759759<form method="post" action="<?php echo esc_url(add_query_arg('step', 3)); ?>">
Note: See TracChangeset for help on using the changeset viewer.