mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user