Changeset 11506 for trunk/wp-includes/general-template.php
- Timestamp:
- 06/02/2009 07:21:42 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r11450 r11506 497 497 //If it's a search 498 498 if ( is_search() ) { 499 $title = sprintf(__('Search Results %s %s'), $t_sep, strip_tags($search)); 499 /* translators: 1: separator, 2: search phrase */ 500 $title = sprintf(__('Search Results %1$s %2$s'), $t_sep, strip_tags($search)); 500 501 } 501 502 … … 1454 1455 $defaults = array( 1455 1456 /* translators: Separator between blog name and feed type in feed links */ 1456 'separator' => _x('»', 'feed link'), 1457 'feedtitle' => __('%s Feed'), 1458 'comstitle' => __('%s Comments Feed'), 1457 'separator' => _x('»', 'feed link'), 1458 /* translators: 1: blog title, 2: separator (raquo) */ 1459 'feedtitle' => __('%1$s %2$s Feed'), 1460 /* translators: %s: blog title, 2: separator (raquo) */ 1461 'comstitle' => __('%1$s %2$s Comments Feed'), 1459 1462 ); 1460 1463 1461 1464 $args = wp_parse_args( $args, $defaults ); 1462 1465 1463 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['feedtitle'], get_bloginfo('name') )) . '" href="' . get_feed_link() . "\" />\n";1464 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['comstitle'], get_bloginfo('name') )) . '" href="' . get_feed_link( 'comments_' . get_default_feed() ) . "\" />\n";1466 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['feedtitle'], get_bloginfo('name'), $args['separator'] )) . '" href="' . get_feed_link() . "\" />\n"; 1467 echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf( $args['comstitle'], get_bloginfo('name'), $args['separator'] )) . '" href="' . get_feed_link( 'comments_' . get_default_feed() ) . "\" />\n"; 1465 1468 } 1466 1469
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)