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/edit-comments.php

    r32333 r32974  
    141141
    142142<div class="wrap">
    143 <h2><?php
     143<h1><?php
    144144if ( $post_id )
    145145    echo sprintf( __( 'Comments on &#8220;%s&#8221;' ),
     
    154154if ( isset($_REQUEST['s']) && $_REQUEST['s'] )
    155155    echo '<span class="subtitle">' . sprintf( __( 'Search results for &#8220;%s&#8221;' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '&hellip;' ) ) . '</span>'; ?>
    156 </h2>
     156</h1>
    157157
    158158<?php
Note: See TracChangeset for help on using the changeset viewer.