Check for index.php instead of blogfilename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dfbf01f57b
commit
52a587a236
|
@ -200,7 +200,7 @@ if (! empty($wp_template)) {
|
|||
}
|
||||
|
||||
// Template redirection
|
||||
if ($pagenow == get_settings('blogfilename')) {
|
||||
if ($pagenow == 'index.php') {
|
||||
if (! isset($wp_did_template_redirect)) {
|
||||
if (is_home() &&
|
||||
file_exists(ABSPATH . "wp-content/${wp_template}index.php")) {
|
||||
|
|
Loading…
Reference in New Issue