[wp-trac] [WordPress Trac] #10585: manage_users_custom_column filter not working

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 11 10:54:57 UTC 2009


#10585: manage_users_custom_column filter not working
----------------------------+-----------------------------------------------
 Reporter:  martinv5        |       Owner:                                            
     Type:  defect (bug)    |      Status:  new                                       
 Priority:  high            |   Milestone:  2.8.4                                     
Component:  Administration  |     Version:                                            
 Severity:  normal          |    Keywords:  user mamagement manage_users_custom_column
----------------------------+-----------------------------------------------
 Problem is in

 {{{
 wp-admin/includes/template.php on line 1971
 }}}

 There's a blank string as an argument instead of $column_name
 {{{
 apply_filters('manage_users_custom_column', '', $column_name,
 $user_object->ID);
 }}}

 If you just remove the empty parameter passed to the function and put
 $column_name there, it will start working and '''you will be able to add
 new columns to the Users management page with plugins.'''

 Let's get this fixed. I'm attaching a '''fixed template.php''' from 2.8.3
 from the main WP site.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10585>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list