mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-31 15:59:44 +01:00
s/wp_did_template_redirect/wp_template_redirect/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7f98c031a7
commit
829d460ce4
@ -205,8 +205,8 @@ $wp_template_dir = TEMPLATEPATH;
|
||||
|
||||
// Template redirection
|
||||
if ($pagenow == 'index.php') {
|
||||
if ( !isset($wp_did_template_redirect) ) {
|
||||
$wp_did_template_redirect = true;
|
||||
if ( !isset($wp_template_redirect) ) {
|
||||
$wp_template_redirect = true;
|
||||
do_action('template_redirect', '');
|
||||
if ( is_feed() ) {
|
||||
include(ABSPATH . '/wp-feed.php');
|
||||
|
Loading…
Reference in New Issue
Block a user