Changeset 36671 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 02/24/2016 02:35:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r36620 r36671 2536 2536 /* translators: 1: blog name, 2: separator(raquo), 3: tag name */ 2537 2537 'tagtitle' => __('%1$s %2$s %3$s Tag Feed'), 2538 /* translators: 1: blog name, 2: separator(raquo), 3: term name, 4: taxonomy singular name */ 2539 'taxtitle' => __('%1$s %2$s %3$s %4$s Feed'), 2538 2540 /* translators: 1: blog name, 2: separator(raquo), 3: author name */ 2539 2541 'authortitle' => __('%1$s %2$s Posts by %3$s Feed'), … … 2576 2578 $href = get_tag_feed_link( $term->term_id ); 2577 2579 } 2580 } elseif ( is_tax() ) { 2581 $term = get_queried_object(); 2582 $tax = get_taxonomy( $term->taxonomy ); 2583 $title = sprintf( $args['taxtitle'], get_bloginfo('name'), $args['separator'], $term->name, $tax->labels->singular_name ); 2584 $href = get_term_feed_link( $term->term_id, $term->taxonomy ); 2578 2585 } elseif ( is_author() ) { 2579 2586 $author_id = intval( get_query_var('author') );
Note: See TracChangeset
for help on using the changeset viewer.