[wp-trac] Re: [WordPress Trac] #5791: End the Escape Madness in
wp-settings.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 7 13:55:17 GMT 2008
#5791: End the Escape Madness in wp-settings.php
-------------------------+--------------------------------------------------
Reporter: hakre | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by darkdragon):
* type: defect => enhancement
Comment:
1. Magic quotes is removed in PHP 6, WordPress supports 4.3, therefore the
magic quotes is unlikely to be removed any time soon.
1. The reason the slashes are added is so that plugins don't have to
check, they automatically know that all input from POST, GET have slashes
and can unslash for their purposes.
There are a few issues with the way magic quotes is handled, but that code
has been battle tested for quite a while now. I agree it could be
simplified, but that is about it.
--
Ticket URL: <http://trac.wordpress.org/ticket/5791#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list