[wp-trac] [WordPress Trac] #18516: Add custom class to WP_Posts_List_Table->single_row() output
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 25 09:52:36 UTC 2011
#18516: Add custom class to WP_Posts_List_Table->single_row() output
-------------------------+-----------------------------
Reporter: brandondove | Owner: brandondove
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Keywords:
-------------------------+-----------------------------
I am working on a custom post type implemention with some common custom
meta information that I want to display in the post list. There is a need
to indicate each post's status with a quick visual queue. Since there is
no way to target a group of table rows that have certain characteristics,
I resorted to highlighting the rows using jQuery.
Looking at the WP_Posts_List_Table class, it seems that this would be an
easy problem to solve by simply adding a filter to the table row class
list. I'm sure this same concept could also be extended to the other
subclasses of WP_List_Table.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18516>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list