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

WordPress Trac noreply at wordpress.org
Fri Sep 11 21:42:41 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 jdgrimes):

 One place that superglobals often have to be accessed is around nonce
 verification. FWIW, I have
 [https://github.com/WordPoints/wordpoints/blob/2.0.1/src/includes/functions.php#L274-L341
 a helper function for that in one of my plugins].

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


More information about the wp-trac mailing list