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:
parent
3d0c99e58c
commit
d5b58ba8d5
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in New Issue