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

WordPress Trac noreply at wordpress.org
Wed Sep 16 17:19:21 UTC 2015


#33837: We should avoid Superglobals when possible
-------------------------------------+-----------------------------
 Reporter:  wonderboymusic           |       Owner:  wonderboymusic
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.4
Component:  General                  |     Version:
 Severity:  major                    |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:17 wonderboymusic]:
 > why not `wp_current_action()`, which is just like
 `WP_List_Table::current_action()`?

 Too similar to `current_action()` or `current_filter()`.

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


More information about the wp-trac mailing list