mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Relocate feed templates to wp-includes. fixes #3846
git-svn-id: https://develop.svn.wordpress.org/trunk@4927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -958,23 +958,23 @@ function do_feed() {
|
||||
}
|
||||
|
||||
function do_feed_rdf() {
|
||||
load_template(ABSPATH . 'wp-rdf.php');
|
||||
load_template(ABSPATH . WPINC . '/feed-rdf.php');
|
||||
}
|
||||
|
||||
function do_feed_rss() {
|
||||
load_template(ABSPATH . 'wp-rss.php');
|
||||
load_template(ABSPATH . WPINC . '/feed-rss.php');
|
||||
}
|
||||
|
||||
function do_feed_rss2($for_comments) {
|
||||
if ( $for_comments ) {
|
||||
load_template(ABSPATH . 'wp-commentsrss2.php');
|
||||
load_template(ABSPATH . WPINC . '/feed-rss2-comments.php');
|
||||
} else {
|
||||
load_template(ABSPATH . 'wp-rss2.php');
|
||||
load_template(ABSPATH . WPINC . '/feed-rss2.php');
|
||||
}
|
||||
}
|
||||
|
||||
function do_feed_atom() {
|
||||
load_template(ABSPATH . 'wp-atom.php');
|
||||
load_template(ABSPATH . WPINC . '/feed-atom.php');
|
||||
}
|
||||
|
||||
function do_robots() {
|
||||
|
||||
Reference in New Issue
Block a user