[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 17:10:51 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:"32757"]:
 {{{
 #!CommitTicketReference repository="" revision="32757"
 In `WP_MS_Users_List_Table::display_rows()`:
 * Move the giant `switch` statement into methods
 * Call `->single_row_columns()`, which we now override - there is a small
 amount of logic that requires overriding, otherwise it is largely the same
 as the parent method

 See #29881.
 }}}

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


More information about the wp-trac mailing list