[wp-trac] [WordPress Trac] #40896: Count wrong when post_tag is applied to attachments

WordPress Trac noreply at wordpress.org
Wed May 31 20:06:56 UTC 2017


#40896: Count wrong when post_tag is applied to attachments
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 If {{{post_tag}}} is applied to attachments using
 {{{register_taxonomy_for_object_type()}}} and then a tag is added to an
 attachment post, the count under Media > Tags remains at 0. See attached
 screenshot for a visual.

 {{{register_taxonomy_for_object_type( 'post_tag', 'attachment' );}}}

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


More information about the wp-trac mailing list