[wp-trac] [WordPress Trac] #21826: There should be more filters when displaying a theme in the list table

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 6 22:54:44 UTC 2012


#21826: There should be more filters when displaying a theme in the list table
-------------------------+-----------------------------
 Reporter:  ethitter     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 In `WP_Themes_List_Table::display_rows()`, there is a filter for the theme
 actions, but no filters for the theme information itself: screenshot,
 title, author, version, and description. Why not fix that?

 The attached patch introduces `theme_list_*` filters within the
 `display_rows()` method. Suppressing one of the pieces of information is
 simply a matter of returning an empty value through the filter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21826>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list