Ticket #23677: 23677-refresh.diff
File 23677-refresh.diff, 1.3 KB (added by , 9 years ago) |
---|
-
wp-includes/general-template.php
2263 2263 'cattitle' => __('%1$s %2$s %3$s Category Feed'), 2264 2264 /* translators: 1: blog name, 2: separator(raquo), 3: tag name */ 2265 2265 'tagtitle' => __('%1$s %2$s %3$s Tag Feed'), 2266 /* translators: 1: blog name, 2: separator(raquo), 3: term name, 4: taxonomy singular name */ 2267 'taxtitle' => __('%1$s %2$s %3$s %4$s Feed'), 2266 2268 /* translators: 1: blog name, 2: separator(raquo), 3: author name */ 2267 2269 'authortitle' => __('%1$s %2$s Posts by %3$s Feed'), 2268 2270 /* translators: 1: blog name, 2: separator(raquo), 3: search phrase */ … … 2303 2305 $title = sprintf( $args['tagtitle'], get_bloginfo('name'), $args['separator'], $term->name ); 2304 2306 $href = get_tag_feed_link( $term->term_id ); 2305 2307 } 2308 } elseif ( is_tax() ) { 2309 $term = get_queried_object(); 2310 $tax = get_taxonomy( $term->taxonomy ); 2311 $title = sprintf( $args['taxtitle'], get_bloginfo('name'), $args['separator'], $term->name, $tax->labels->singular_name ); 2312 $href = get_term_feed_link( $term->term_id, $term->taxonomy ); 2306 2313 } elseif ( is_author() ) { 2307 2314 $author_id = intval( get_query_var('author') ); 2308 2315