mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10286 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -15,6 +15,8 @@ if ( !defined('WP_MEMORY_LIMIT') )
|
||||
if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )
|
||||
@ini_set('memory_limit', WP_MEMORY_LIMIT);
|
||||
|
||||
set_magic_quotes_runtime(0);
|
||||
@ini_set('magic_quotes_sybase', 0);
|
||||
|
||||
/**
|
||||
* Turn register globals off.
|
||||
|
||||
Reference in New Issue
Block a user