mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -101,6 +101,13 @@ if ( get_settings('active_plugins') ) {
|
||||
|
||||
define('TEMPLATEPATH', get_template_directory());
|
||||
|
||||
if ( !get_magic_quotes_gpc() ) {
|
||||
$_GET = add_magic_quotes($_GET );
|
||||
$_POST = add_magic_quotes($_POST );
|
||||
$_COOKIE = add_magic_quotes($_COOKIE);
|
||||
$_SERVER = add_magic_quotes($_SERVER);
|
||||
}
|
||||
|
||||
function shutdown_action_hook() {
|
||||
do_action('shutdown', '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user