[wp-trac] [WordPress Trac] #33837: We should avoid Superglobals when possible

WordPress Trac noreply at wordpress.org
Fri Sep 11 21:00:17 UTC 2015


#33837: We should avoid Superglobals when possible
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.4
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+--------------------

Comment (by wonderboymusic):

 [attachment:33837.diff 33837.diff] introduces `wp_validate_action()` and
 gets rid of 27 uses of `$_REQUEST` (14 now, down from 41) in `wp-admin`,
 ground zero for this

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33837#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list