WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22325, comment 11


Ignore:
Timestamp:
11/02/2012 02:15:16 PM (9 years ago)
Author:
CaptainN
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22325, comment 11

    initial v1  
    11I was thinking something a bit more simple, a set of functions that mimic the GPCS globals.
    22
     3{{{
    34// instead of
    45$something = $_GET['something'];
     
    67// use the new
    78$something = _get('something');
     9}}}
    810
    911We could simulate other things like calling those methods with no arguments would return the entire array, multie args for multidimensional arrays etc.