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

WordPress Trac noreply at wordpress.org
Wed Feb 27 16:12:44 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 CaptainN):

 I always noticed WordPress makes it's own $_REQUEST variable by mixing
 $_GET and $_POST. This has been done again in the patch. Why?

 PHP already has a $_REQUEST array, which is actually $_GET, $_POST, and
 $_COOKIE combined. Why build a different request array, instead of just
 using the (well understood) one PHP already has?

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


More information about the wp-trac mailing list