[wp-trac] [WordPress Trac] #26948: Filter taxonomies available in quick edit

WordPress Trac noreply at wordpress.org
Wed Apr 16 10:32:49 UTC 2014


#26948: Filter taxonomies available in quick edit
-------------------------+------------------------------
 Reporter:  hlashbrooke  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  3.8
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  ui
-------------------------+------------------------------

Comment (by helgatheviking):

 +1 for the filter in the quick edit! My plugin, Radio Buttons for
 Taxonomies, has to hack into the global $wp_taxonomies variable to prevent
 taxonomies from showing up in the quick edit.. and it is janky and prone
 to error. A filter would help immensely. Something like:



 {{{
 $taxonomy_names = apply_filters( 'quick_edit_taxonomies',
 get_object_taxonomies( $screen->post_type ), $screen->post_type );
 }}}



 in class-wp-posts-list-table.php function inline_edit().  I'd make a
 patch, but since trying to get the git mirrors working on my local setup,
 my git app has blown a gasket.

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


More information about the wp-trac mailing list