[wp-trac] [WordPress Trac] #41146: Add filter for a site's class (WP_MS_Users_List_Table)

WordPress Trac noreply at wordpress.org
Mon Jun 26 19:45:13 UTC 2017


#41146: Add filter for a site's class (WP_MS_Users_List_Table)
--------------------------------+------------------------------
 Reporter:  kraftbj             |       Owner:  kraftbj
     Type:  enhancement         |      Status:  accepted
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  administration
--------------------------------+------------------------------
Changes (by kraftbj):

 * keywords:  needs-patch => has-patch
 * owner:   => kraftbj
 * status:  new => accepted


Comment:

 Made the suggested changes. I'm only checking for `is_array` to make sure
 the return is in the right format. Someone can return `false`, etc to
 short-circuit completely.

 We could also check for an empty array, but I don't want to overengineer
 it.

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


More information about the wp-trac mailing list