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
+1 -1
View File
@@ -863,7 +863,7 @@ function do_feed() {
$feed = preg_replace( '/^_+/', '', $feed );
if ( $feed == '' || $feed == 'feed' )
$feed = 'rss2';
$feed = get_default_feed();
$hook = 'do_feed_' . $feed;
do_action( $hook, $wp_query->is_comment_feed );