[wp-trac] [WordPress Trac] #29881: Better abstraction for WP_Posts_List_Table so it's easier to subclass

WordPress Trac noreply at wordpress.org
Sun Nov 16 15:28:37 UTC 2014


#29881: Better abstraction for WP_Posts_List_Table so it's easier to subclass
----------------------------+-----------------------------
 Reporter:  joehoyle        |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.1
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  administration
----------------------------+-----------------------------

Comment (by joehoyle):

 Refreshed patch against trunk (some fun that was!) and fixed up the naming
 of the taxonomy helper function to `protected output_taxonomy_column()`.

 Also provided backwards compat for class names on the post title column;
 this required overriding `single_row_columns()` to set the post title
 classes, as there is no other way to inject those old classes unless we
 changed `wp-post-list-table.php` to somehow allow filtering / changing of
 the `<td>` class names.

 Also fixed up remaining todos in the patch.

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


More information about the wp-trac mailing list