mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Easier translation for search strings in H2s
git-svn-id: https://develop.svn.wordpress.org/trunk@10035 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+4
-2
@@ -239,8 +239,10 @@ if ( ! empty($messages) ) {
|
||||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<?php $h2_search = isset($_GET['s']) && $_GET['s'] ? ' ' . sprintf(__('matching “%s”'), wp_specialchars( get_search_query() ) ) : ''; ?>
|
||||
<h2><?php echo wp_specialchars( $title ) . $h2_search; ?></h2>
|
||||
<h2><?php echo wp_specialchars( $title );
|
||||
<?php if ( isset($_GET['s']) && $_GET['s'] )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', wp_specialchars( get_search_query() ) ); ?>
|
||||
<h2>
|
||||
|
||||
<div class="filter">
|
||||
<form id="list-filter" action="" method="get">
|
||||
|
||||
Reference in New Issue
Block a user