Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#14084 closed defect (bug)

Custom taxonomy count includes draft & trashed posts — at Initial Version

Reported by: lumpysimon Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Taxonomy Keywords: has-patch 3.2-early dev-feedback needs-refresh
Focuses: Cc:


I have registered a custom post type and an associated non-hierarchical custom taxonomy.

The tag count, both on edit-tags.php?taxonomy=my_tag&post_type=my_post and when using wp_tag_cloud, includes draft & trashed posts in the count.

The count should only include published posts.

This error doesn't seem to occur for normal posts/tags, only for custom posts types/taxonomies.

Change History (0)

Note: See TracTickets for help on using tickets.