Make WordPress Core


Ignore:
Timestamp:
12/04/2008 09:20:52 AM (17 years ago)
Author:
azaozz
Message:

Add search string to H2s, fixes #8373

File:
1 edited

Legend:

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

    r9999 r10034  
    105105<div class="wrap">
    106106<?php screen_icon(); ?>
    107 <h2><?php echo wp_specialchars( $title ); ?></h2>
     107<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching &#8220;%s&#8221;'), wp_specialchars( get_search_query() ) ) : ''; ?>
     108<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
    108109
    109110<?php if ( isset($_GET['locked']) || isset($_GET['skipped']) || isset($_GET['updated']) || isset($_GET['deleted']) ) { ?>
Note: See TracChangeset for help on using the changeset viewer.