mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Introduce get_term_feed_link(). Use it in wp_list_categories(). Props blepoxp. see #13058
git-svn-id: https://develop.svn.wordpress.org/trunk@14711 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1356,7 +1356,7 @@ class Walker_Category extends Walker {
|
||||
if ( empty($feed_image) )
|
||||
$link .= '(';
|
||||
|
||||
$link .= '<a href="' . get_category_feed_link($category->term_id, $feed_type) . '"';
|
||||
$link .= '<a href="' . get_term_feed_link( $category->term_id, $category->taxonomy, $feed_type ) . '"';
|
||||
|
||||
if ( empty($feed) )
|
||||
$alt = ' alt="' . sprintf(__( 'Feed for all posts filed under %s' ), $cat_name ) . '"';
|
||||
|
||||
Reference in New Issue
Block a user