[wp-trac] [WordPress Trac] #22558: Attachment term counts feels/are inaccurate

WordPress Trac noreply at wordpress.org
Thu Jan 17 01:28:29 UTC 2013


#22558: Attachment term counts feels/are inaccurate
--------------------------+------------------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+------------------------------

Comment (by havahula):

 I can confirm that all those steps are accurate.

 By way of a use-case scenario:
 If you're using the new Attachment Post UI, to create an asset management
 tool with a custom taxonomy as the organizing mechanism, all attachments
 without post parents (unattached) will be correctly added to the selected
 terms. however, if you run a query using get_categories() you must set
 'hide_empty' to false in order to show the attachments, which of course,
 means they're not registering in the 'count' column in term_taxonomy.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22558#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list