[wp-trac] [WordPress Trac] #14579: Ajaxify list-type screens in the admin

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 31 12:43:17 UTC 2010


#14579: Ajaxify list-type screens in the admin
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:  scribu         
     Type:  task (blessed)  |      Status:  accepted       
 Priority:  normal          |   Milestone:  3.1            
Component:  Administration  |     Version:                 
 Severity:  normal          |    Keywords:  ongoing-project
----------------------------+-----------------------------------------------

Comment(by rovo89):

 I justed tested a plugin with the latest trunk which I started with
 WordPress 3.0. It uses a custom post type and the {{{manage_edit-
 myposttpe_columns}}} filter to modify the columns in the edit screen. This
 works for the first page, but when I navigate to the second page
 (ajaxified), the default columns are shown.

 I tracked this down to a change in [15956]. {{{$current_screen}}} is used
 in the constructor of {{{WP_Posts_Table}}}, so it needs to be set before
 creating the instance of this class. The attached patch fixes this.

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


More information about the wp-trac mailing list