diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php
index 96a61cf..0673218 100644
a
|
b
|
function wp_list_categories( $args = '' ) { |
420 | 420 | 'feed_image' => '', 'exclude' => '', |
421 | 421 | 'exclude_tree' => '', 'current_category' => 0, |
422 | 422 | 'hierarchical' => true, 'title_li' => __( 'Categories' ), |
| 423 | 'title_format' => __( 'View all posts filed under %s' ), |
| 424 | 'feed_title_format' => __( 'Feed for all posts filed under %s' ), |
423 | 425 | 'echo' => 1, 'depth' => 0, |
424 | 426 | 'taxonomy' => 'category' |
425 | 427 | ); |
… |
… |
class Walker_Category extends Walker { |
827 | 829 | $cat_name = apply_filters( 'list_cats', $cat_name, $category ); |
828 | 830 | $link = '<a href="' . esc_url( get_term_link($category) ) . '" '; |
829 | 831 | if ( $use_desc_for_title == 0 || empty($category->description) ) |
830 | | $link .= 'title="' . esc_attr( sprintf(__( 'View all posts filed under %s' ), $cat_name) ) . '"'; |
| 832 | $link .= 'title="' . esc_attr( sprintf( __( $title_format ), $cat_name ) ) . '"'; |
831 | 833 | else |
832 | 834 | $link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"'; |
833 | 835 | $link .= '>'; |
… |
… |
class Walker_Category extends Walker { |
842 | 844 | $link .= '<a href="' . esc_url( get_term_feed_link( $category->term_id, $category->taxonomy, $feed_type ) ) . '"'; |
843 | 845 | |
844 | 846 | if ( empty($feed) ) { |
845 | | $alt = ' alt="' . sprintf(__( 'Feed for all posts filed under %s' ), $cat_name ) . '"'; |
| 847 | $alt = ' alt="' . sprintf(__( $feed_title_format ), $cat_name ) . '"'; |
846 | 848 | } else { |
847 | 849 | $title = ' title="' . $feed . '"'; |
848 | 850 | $alt = ' alt="' . $feed . '"'; |