Make WordPress Core


Ignore:
Timestamp:
12/04/2008 12:01:02 PM (17 years ago)
Author:
azaozz
Message:

Easier translation for search strings in H2s

File:
1 edited

Legend:

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

    r10034 r10035  
    105105<div class="wrap">
    106106<?php screen_icon(); ?>
    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>
     107<h2><?php echo wp_specialchars( $title );
     108if ( isset($_GET['s']) && $_GET['s'] )
     109    printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', wp_specialchars( get_search_query() ) ); ?>
     110</h2>
    109111
    110112<?php if ( isset($_GET['locked']) || isset($_GET['skipped']) || isset($_GET['updated']) || isset($_GET['deleted']) ) { ?>
Note: See TracChangeset for help on using the changeset viewer.