Make WordPress Core


Ignore:
Timestamp:
06/27/2015 03:40:27 PM (8 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/network/sites.php

    r32152 r32974  
    6868        ?>
    6969            <div class="wrap">
    70                 <h2><?php _e( 'Confirm your action' ); ?></h2>
     70                <h1><?php _e( 'Confirm your action' ); ?></h1>
    7171                <form action="sites.php?action=<?php echo esc_attr( $_GET['action2'] ) ?>" method="post">
    7272                    <input type="hidden" name="action" value="<?php echo esc_attr( $_GET['action2'] ) ?>" />
     
    249249
    250250<div class="wrap">
    251 <h2><?php _e( 'Sites' ) ?>
     251<h1><?php _e( 'Sites' ); ?>
    252252
    253253<?php if ( current_user_can( 'create_sites') ) : ?>
     
    258258    printf( '<span class="subtitle">' . __( 'Search results for &#8220;%s&#8221;' ) . '</span>', esc_html( $s ) );
    259259} ?>
    260 </h2>
     260</h1>
    261261
    262262<?php echo $msg; ?>
Note: See TracChangeset for help on using the changeset viewer.