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

WordPress Trac noreply at wordpress.org
Mon Jan 27 17:55:32 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 hlashbrooke):

 Replying to [comment:7 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?

 Done :)

 Good point about the `show_ui` fallback - that hadn't occurred to me.

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


More information about the wp-trac mailing list