Ticket #13949: 13949.2.diff
File 13949.2.diff, 1.1 KB (added by , 9 years ago) |
---|
-
wp-includes/category-template.php
535 535 'feed' => '', 536 536 'feed_image' => '', 537 537 'feed_type' => '', 538 'feed_title' => __( 'Feed for all posts filed under %s' ), 538 539 'hide_empty' => 1, 539 540 'hide_title_if_empty' => false, 540 541 'hierarchical' => true, -
wp-includes/class-walker-category.php
134 134 $link .= '<a href="' . esc_url( get_term_feed_link( $category->term_id, $category->taxonomy, $args['feed_type'] ) ) . '"'; 135 135 136 136 if ( empty( $args['feed'] ) ) { 137 $alt = ' alt="' . sprintf( __( 'Feed for all posts filed under %s' ), $cat_name ) . '"';137 $alt = ' alt="' . sprintf($args['feed_title'], $cat_name ) . '"'; 138 138 } else { 139 139 $alt = ' alt="' . $args['feed'] . '"'; 140 140 $name = $args['feed'];