Move hack file include.
git-svn-id: https://develop.svn.wordpress.org/trunk@844 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8ead9ca329
commit
94054cd0ee
@ -1777,10 +1777,4 @@ function hilite($text) {
|
|||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Check for hacks file if the option is enabled
|
|
||||||
if (get_settings('hack_file')) {
|
|
||||||
if (file_exists(ABSPATH . '/my-hacks.php'))
|
|
||||||
require(ABSPATH . '/my-hacks.php');
|
|
||||||
}
|
|
||||||
?>
|
?>
|
@ -106,7 +106,13 @@ if (!strstr($HTTP_SERVER_VARS['REQUEST_URI'], 'install.php') && !strstr($HTTP_SE
|
|||||||
|
|
||||||
} //end !$_wp_installing
|
} //end !$_wp_installing
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
require_once (ABSPATH . WPINC . '/vars.php');
|
require_once (ABSPATH . WPINC . '/vars.php');
|
||||||
|
|
||||||
|
|
||||||
|
// Check for hacks file if the option is enabled
|
||||||
|
if (get_settings('hack_file')) {
|
||||||
|
if (file_exists(ABSPATH . '/my-hacks.php'))
|
||||||
|
require(ABSPATH . '/my-hacks.php');
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user