Move hack file include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ddaa35390d
commit
c26991b1d1
|
@ -1777,10 +1777,4 @@ function hilite($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
|
||||
|
||||
|
||||
|
||||
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