mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +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
|
// 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