[wp-trac] [WordPress Trac] #15806: get_terms with hide_empty returns count > 0 with trashed items

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 13 11:52:56 UTC 2011


#15806: get_terms with hide_empty returns count > 0 with trashed items
----------------------------------+------------------------------
 Reporter:  bendog                |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Taxonomy              |     Version:  3.0.2
 Severity:  minor                 |  Resolution:
 Keywords:  taxonomy custom post  |
----------------------------------+------------------------------
Changes (by neoxx):

 * cc: neo@… (added)
 * keywords:  taxonomy, custom post => taxonomy custom post


Comment:

 In 3.2 I could also reproduce the bug with an unpublished post in
 combination with an otherwise not assigned custom taxonomy term.
 (get_terms w/ hide_empty)

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


More information about the wp-trac mailing list