Ticket #9103: 9103.diff
| File 9103.diff, 733 bytes (added by DD32, 4 years ago) |
|---|
-
wp-includes/general-template.php
385 385 $year = get_query_var('year'); 386 386 $monthnum = get_query_var('monthnum'); 387 387 $day = get_query_var('day'); 388 $search = get_query_var('s'); 388 389 $title = ''; 389 390 390 391 $t_sep = '%WP_TITILE_SEP%'; // Temporary separator, for accurate flipping, if necessary … … 457 458 $title = "$tax$t_sep$term"; 458 459 } 459 460 461 //If it's a search 462 if ( is_search() ) { 463 $title = sprintf(__('Search Results %s %s'), $t_sep, wp_specialchars($search)); 464 } 465 460 466 if ( is_404() ) { 461 467 $title = __('Page not found'); 462 468 }
