Make WordPress Core


Ignore:
Timestamp:
02/23/2007 02:50:05 AM (19 years ago)
Author:
ryan
Message:

Relocate feed templates to wp-includes. fixes #3846

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r4920 r4927  
    959959
    960960function do_feed_rdf() {
    961     load_template(ABSPATH . 'wp-rdf.php');
     961    load_template(ABSPATH . WPINC . '/feed-rdf.php');
    962962}
    963963
    964964function do_feed_rss() {
    965     load_template(ABSPATH . 'wp-rss.php');
     965    load_template(ABSPATH . WPINC . '/feed-rss.php');
    966966}
    967967
    968968function do_feed_rss2($for_comments) {
    969969    if ( $for_comments ) {
    970         load_template(ABSPATH . 'wp-commentsrss2.php');
    971     } else {
    972         load_template(ABSPATH . 'wp-rss2.php');
     970        load_template(ABSPATH . WPINC . '/feed-rss2-comments.php');
     971    } else {
     972        load_template(ABSPATH . WPINC . '/feed-rss2.php');
    973973    }
    974974}
    975975
    976976function do_feed_atom() {
    977     load_template(ABSPATH . 'wp-atom.php');
     977    load_template(ABSPATH . WPINC . '/feed-atom.php');
    978978}
    979979
Note: See TracChangeset for help on using the changeset viewer.