mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Hacks file option and include.
git-svn-id: https://develop.svn.wordpress.org/trunk@614 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1660,4 +1660,9 @@ function add_filter($tag, $function_to_add) {
|
||||
return true;
|
||||
}
|
||||
|
||||
?>
|
||||
// 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');
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user