Rewrite API additions and improvements from David House. #2433

git-svn-id: https://develop.svn.wordpress.org/trunk@3638 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-03-12 22:57:00 +00:00
parent 5fd8e9c8f5
commit b573abbd16
8 changed files with 856 additions and 633 deletions

View File

@@ -2,7 +2,7 @@
if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
do_action('template_redirect');
if ( is_feed() ) {
include(ABSPATH . '/wp-feed.php');
do_feed();
exit;
} else if ( is_trackback() ) {
include(ABSPATH . '/wp-trackback.php');
@@ -56,7 +56,7 @@ if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
} else {
// Process feeds and trackbacks even if not using themes.
if ( is_feed() ) {
include(ABSPATH . '/wp-feed.php');
do_feed();
exit;
} else if ( is_trackback() ) {
include(ABSPATH . '/wp-trackback.php');