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:
ryan 2008-12-31 22:11:33 +00:00
parent 3b4b6e358e
commit 095e27c43a

View File

@ -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.