[wp-trac] [WordPress Trac] #15338: Use global $current_screen within the List Tables classes

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 8 15:54:41 UTC 2010


#15338: Use global $current_screen within the List Tables classes
----------------------------+-----------------------------------------------
 Reporter:  westi           |        Owner:  scribu
     Type:  defect (bug)    |       Status:  closed
 Priority:  normal          |    Milestone:  3.1   
Component:  Administration  |      Version:  3.1   
 Severity:  normal          |   Resolution:  fixed 
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------

Comment(by scribu):

 Yes, because with register_column_headers() and print_column_headers() the
 screen can be different than the current screen.

 See the WP E-Commerce plugin as an example.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15338#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list