Check for index.php instead of blogfilename.

git-svn-id: https://develop.svn.wordpress.org/trunk@1662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-09-15 07:37:43 +00:00
parent 3d0c99e58c
commit d5b58ba8d5
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ if (! empty($wp_template)) {
} }
// Template redirection // Template redirection
if ($pagenow == get_settings('blogfilename')) { if ($pagenow == 'index.php') {
if (! isset($wp_did_template_redirect)) { if (! isset($wp_did_template_redirect)) {
if (is_home() && if (is_home() &&
file_exists(ABSPATH . "wp-content/${wp_template}index.php")) { file_exists(ABSPATH . "wp-content/${wp_template}index.php")) {