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:
rboren 2005-01-09 01:53:31 +00:00
parent 7f98c031a7
commit 829d460ce4
1 changed files with 2 additions and 2 deletions

View File

@ -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');