mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3b4b6e358e
commit
095e27c43a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user