Make WordPress Core


Ignore:
Timestamp:
09/29/2008 10:06:23 PM (16 years ago)
Author:
ryan
Message:

h2 removal per wireframes. Props Viper007Bond. see #7552

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-pages.php

    r9028 r9032  
    131131endif; ?>
    132132
    133 <h2><?php
    134 // Use $_GET instead of is_ since they can override each other
    135 $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( stripslashes( $_GET['s'] ) ) ) : '';
    136 $h2_author = '';
    137 if ( isset($_GET['author']) && $_GET['author'] ) {
    138     $author_user = get_userdata( (int) $_GET['author'] );
    139     $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name ));
    140 }
    141 printf( _c( '%1$s%2$s%3$s (<a href="%4$s">Add New</a>)|You can reorder these: 1: Pages, 2: by {s}, 3: matching {s}' ), $post_status_label, $h2_author, $h2_search, 'page-new.php' );
    142 ?></h2>
    143 
    144133<ul class="subsubsub">
    145134<?php
Note: See TracChangeset for help on using the changeset viewer.