[wp-trac] [WordPress Trac] #25360: Add a filter in WP_Users_List_Table

WordPress Trac noreply at wordpress.org
Sat Oct 3 17:13:06 UTC 2015


#25360: Add a filter in WP_Users_List_Table
-------------------------+---------------------------
 Reporter:  juliobox     |       Owner:  DrewAPicture
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.4
Component:  Users        |     Version:  3.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------------
Changes (by jeremyfelt):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @DrewAPicture - I think we can remove the `$this` parameter. Both
 `is_network_admin()` and `get_current_screen()` can be used to determine
 context in a more straight forward way.

 Also, `blog_id` is available in the original `$args` when MS where `role`
 is in the args when single site. That would be a little tougher to rely
 on, but is there.

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


More information about the wp-trac mailing list