[wp-trac] [WordPress Trac] #16262: Remove AJAX and extendability from list tables

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 17 09:29:15 UTC 2011


#16262: Remove AJAX and extendability from list tables
----------------------------+-----------------------
 Reporter:  nacin           |       Owner:  nacin
     Type:  task (blessed)  |      Status:  accepted
 Priority:  high            |   Milestone:  3.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by garyc40):

 Sorry for the constant annoying stream of patches. I was thoroughly
 combing through each line of code in "edit-comments.js" and disabling AJAX
 features or restoring them one by one if they're in 3.0 .

 All ajax functionalities that are not depending on {{{list_table}}} have
 been restored.

 However, it's currently not refilling the extra list. Trashing a comment
 will still add another comment from the extra buffer to the list for a
 while, however there are only 8 extra comments in the buffer when the page
 loads.

 In 3.0, refilling the extra list is done by submitting the form {{{#get-
 extra-comments}}}. However as we abstracted things into
 {{{WP_Comments_List_Table}}}, it got deleted and we have been using
 {{{listTable.fetch_list}}} instead.

 What's the favorable way to proceed with restoring the extra list's
 functionality? Use the 3.0 approach, or just create a custom ajax request
 without going through {{{listTable.fetch_list}}} ?

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


More information about the wp-trac mailing list