[wp-trac] [WordPress Trac] #9002: Custom columns not populated for user edit screen

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 30 21:53:15 GMT 2009


#9002: Custom columns not populated for user edit screen
----------------------------+-----------------------------------------------
 Reporter:  PeteHoliday     |       Owner:  anonymous
     Type:  defect (bug)    |      Status:  new      
 Priority:  normal          |   Milestone:  2.8      
Component:  Administration  |     Version:  2.7      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 While the "manage_posts_columns" filter is properly called, custom columns
 are not populated properly.

 Custom columns for other edit screens are populated by firing an action
 typically out of a switch statement. For custom columns in the post edit
 screen, this switch statement is located in template.php at line 1322. The
 default case (line 1482) fires the 'manage_posts_custom_column' action.

 The analogous switch statement for the users edit screen can be located at
 line 1843 of template.php. This switch statement lacks a default case,
 where the 'manage_users_custom_column' action should be fired. The default
 case should probably be inserted between lines 1869 and 1870.

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


More information about the wp-trac mailing list