[wp-hackers] single quote in plugin options
Matt Mullenweg
m at mullenweg.com
Sun Jul 19 16:08:48 UTC 2009
On 7/15/2009 8:43 PM, Will Anderson wrote:
> This is why Magic Quotes are being deprecated. They're useful for software
> that doesn't do its own escaping, but software like WordPress does, so Magic
> Quotes end up being more of a pain than they're worth.
We attempt to turn magic quotes off at the top of wp-settings.php:
set_magic_quotes_runtime(0);
@ini_set('magic_quotes_sybase', 0);
If you're seeing extra quotes somewhere, it may be a bug.
--
Matt Mullenweg
http://ma.tt | http://wordpress.org | http://automattic.com
More information about the wp-hackers
mailing list