[wp-trac] [WordPress Trac] #31691: Taxonomies registered to Attachments post type don't show in media modal if public = false but show_ui = true.

WordPress Trac noreply at wordpress.org
Thu Mar 19 11:00:39 UTC 2015


#31691: Taxonomies registered to Attachments post type don't show in media modal if
public = false but show_ui = true.
----------------------------+-----------------------------
 Reporter:  husobj          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.1.1
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 If you register a taxonomy for the `attachment` post type with the
 parameters:

 {{{
 public => false,
 show_ui => true
 }}}

 If correctly shows the UI meta box when viewing the old-style edit media
 page.

 However, if doesn't show fields in the edit media modal.

 If you set `public` to true then it does show.

 The media modal should check the `show_ui` value to determine wether
 taxonomy fields should be shown in the attachment media modal.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31691>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list