New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328

git-svn-id: https://develop.svn.wordpress.org/trunk@6365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-12-06 19:58:15 +00:00
parent 3a8b2fcca3
commit fb05263f15
7 changed files with 151 additions and 115 deletions

View File

@@ -599,7 +599,7 @@ class Walker_Category extends Walker {
if ( empty($feed_image) )
$link .= '(';
$link .= '<a href="' . get_category_rss_link( 0, $category->term_id, $category->slug ) . '"';
$link .= '<a href="' . get_category_feed_link($category->term_id, $feed_type) . '"';
if ( empty($feed) )
$alt = ' alt="' . sprintf(__( 'Feed for all posts filed under %s' ), $cat_name ) . '"';