[wp-trac] [WordPress Trac] #22938: Presentation of hierarchical taxonomy in Media modal should be checkboxes rather than comma-separated tag list

WordPress Trac noreply at wordpress.org
Thu Mar 19 10:55:06 UTC 2015


#22938: Presentation of hierarchical taxonomy in Media modal should be checkboxes
rather than comma-separated tag list
-------------------------------------------------+-------------------------
 Reporter:  yeswework                            |       Owner:
     Type:  enhancement                          |  wonderboymusic
 Priority:  normal                               |      Status:  assigned
Component:  Media                                |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  has-patch dev-feedback needs-        |     Version:  3.5
  testing                                        |  Resolution:
                                                 |     Focuses:  ui,
                                                 |  javascript
-------------------------------------------------+-------------------------

Comment (by husobj):

 Replying to [comment:13 jessepollak]:
 > 1. I use `wp_terms_checklist()` which in turn relies on
 `Walker_Category_Checklist` which is relatively inflexible. Primarily, it
 can only output inputs of the form `name=post_category[]` or
 `tax_input[$taxonomy]`.

 This may relate to issue #28053 - The saving of media modal fields doesn't
 cater for multiple form fields of the same name named with empty square
 brackets such as `post_category[]`. You would expect these to get
 submitted and handled as an array but only the last field gets submitted.

 Would handling that issue perhaps help here?

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


More information about the wp-trac mailing list