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