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

WordPress Trac noreply at wordpress.org
Mon Jan 27 18:11:39 UTC 2014


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

Comment (by DrewAPicture):

 [attachment:taxonomy_quick_edit2.diff] looks pretty good. Now that you've
 got `show_in_quick_edit` defaulting back to to the value of `show_ui`, you
 can just check it by itself in the list table foreach:

 {{{
 #!php
 if ( ! $taxonomy->show_in_quick_edit ) {
         continue;
 }
 }}}

 You'll also need to add a line or two description to the
 `register_taxonomy()` phpdoc block explaining about `show_in_quick_edit`.

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


More information about the wp-trac mailing list