s/wp_did_template_redirect/wp_template_redirect/
git-svn-id: https://develop.svn.wordpress.org/trunk@2069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e8f96ac46
commit
adad04ff38
@ -205,8 +205,8 @@ $wp_template_dir = TEMPLATEPATH;
|
|||||||
|
|
||||||
// Template redirection
|
// Template redirection
|
||||||
if ($pagenow == 'index.php') {
|
if ($pagenow == 'index.php') {
|
||||||
if ( !isset($wp_did_template_redirect) ) {
|
if ( !isset($wp_template_redirect) ) {
|
||||||
$wp_did_template_redirect = true;
|
$wp_template_redirect = true;
|
||||||
do_action('template_redirect', '');
|
do_action('template_redirect', '');
|
||||||
if ( is_feed() ) {
|
if ( is_feed() ) {
|
||||||
include(ABSPATH . '/wp-feed.php');
|
include(ABSPATH . '/wp-feed.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user