[wp-trac] [WordPress Trac] #22325: Abstract GPCS away from the superglobals

WordPress Trac noreply at wordpress.org
Sun Mar 3 04:40:43 UTC 2013


#22325: Abstract GPCS away from the superglobals
-------------------------+-----------------------------
 Reporter:  rmccue       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by nacin):

 Replying to [comment:39 CaptainN]:
 > I wasn't around WordPress at the time, but I'd guess the enforcement of
 magic quotes on the PHP superglobals was added to WordPress in response to
 the change in upstream default behavior by PHP - so it was probably more
 of an active change to default WP behavior than a change that happened
 through attrition. The result is the same either way, WordPress is left in
 a state where its behavior changes default PHP behavior to match legacy
 PHP behavior.

 Nah, we're talking 9, 10 years ago. It wasn't legacy PHP behavior at the
 time.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22325#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list