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

WordPress Trac noreply at wordpress.org
Mon Jan 27 16:47:06 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):

 Replying to [comment:6 hlashbrooke]:
 > New diff attached - it adds a `quick_edit` argument to the
 `register_taxonomy()` function, which is set to `true` by default. Then it
 checks that parameter in `WP_Posts_List_Table::inline_edit()` when it
 displays the quick/bulk edit panel.

 Nice. Had you considered defaulting `quick_edit` to null, similarly to how
 the `show_in_*` options are? Possibly even using `show_in_quick_edit`
 instead?

 Setting those args null by default allows a sort of
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 includes/taxonomy.php#L380 predictable fallback] to the value of `show_ui`
 which falls back to the value of `public`. Just seems to fit a bit more
 logically with the `show_ui` group of arguments than standing it alone.
 Thoughts?

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


More information about the wp-trac mailing list