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

WordPress Trac noreply at wordpress.org
Fri Sep 11 21:07:14 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 ocean90):

 Can we name it `wp_validate_request_action()` to avoid confusion with
 actions/hooks? Also what's the benefit of this change since we're still
 accessing/using the superglobal?

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


More information about the wp-trac mailing list