[wp-trac] [WordPress Trac] #29881: Better abstraction for WP_*_List_Table so they are easier to subclass

WordPress Trac noreply at wordpress.org
Sat Jun 13 16:23:03 UTC 2015


#29881: Better abstraction for WP_*_List_Table so they are easier to subclass
----------------------------+-----------------------------
 Reporter:  joehoyle        |       Owner:  nacin
     Type:  enhancement     |      Status:  assigned
 Priority:  normal          |   Milestone:  4.3
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"32755"]:
 {{{
 #!CommitTicketReference repository="" revision="32755"
 In `WP_MS_Sites_List_Table::display_rows()`:
 * Move the giant `switch` statement into methods
 * Call `->single_row_columns()`, which we now override - it could inherit
 from `WP_List_Table` if we can find a way to handle the `id` column. When
 that happens, we can ditch this method.

 See #29881.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29881#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list