[wp-trac] [WordPress Trac] #43318: New filter suggestion for manage_users-network_custom_column

WordPress Trac noreply at wordpress.org
Wed Feb 14 16:00:52 UTC 2018


#43318: New filter suggestion for manage_users-network_custom_column
-------------------------+-----------------------------
 Reporter:  lenasterg    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Users        |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  multisite    |
-------------------------+-----------------------------
 Hi.
 In a multisite installation, currently a custom column for the users list
 table uses the filter ''''manage_users_custom_column'''' for both network
 users admin table and single subsite users admin table.
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-
 wp-ms-users-list-table.php#L398

 This is a bit confusing for plugin development since all the other filters
 and actions used in the network users admin table are based on the
 $screen->id, which for the network users admin page is "users-network".
 For example the filters:  "'''manage_users-network_columns'''" and
 "'''manage_users-network_sortable_columns'''"

 The attached is a suggestion  for introducing the filter ''''manage_users-
 network_custom_column'''', without dropping the support for
 'manage_users_custom_colunm.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43318>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list