The magic is now done in wp-includes/load.php
$_REQUEST is created AFTER adding slashes, so is always escaped.
]]>Sheesh. Something so simple, yet someone missed in creating the theme.
]]>I’d been wandering around the Codex site wondering why the hell slashes were getting added to all of my request data when I always work without magic_quotes on.
I don’t even understand why this is happening – as even with adding slashes, SQL injection can still occur if the queries are not escaped with proper SQL escape functions.
All this can really lead to is bad programming practice for the newer plugin developers as they will see data ‘escaped’ automatically and assume that it’s OK.
]]>