[wp-trac] [WordPress Trac] #22325: Abstract GPCS away from the superglobals
WordPress Trac
noreply at wordpress.org
Fri Nov 2 13:42:31 UTC 2012
#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 was thinking something a bit more simple, a set of functions that mimic
the GPCS globals.
// instead of
$something = $_GET['something'];
// use the new
$something = _get('something');
We could simulate other things like calling those methods with no
arguments would return the entire array, multie args for multidimensional
arrays etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22325#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list