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

WordPress Trac noreply at wordpress.org
Sat Oct 3 21:48:37 UTC 2015


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

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


Comment:

 In [changeset:"34813"]:
 {{{
 #!CommitTicketReference repository="" revision="34813"
 Users: Don't pass the current `WP_Users_List_Table` or
 `WP_MS_Users_List_Table` instance to the `users_list_table_query_args`
 filter after all.

 After some discussion, it was decided that Multisite vs single site
 context can just as easily be derived using available functions like
 `is_network_admin()`, `get_current_screen()`, etc., rendering the second
 parameter moot. The hook was introduced in [34796].

 Fixes #25360.
 }}}

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


More information about the wp-trac mailing list