[wp-trac] [WordPress Trac] #14084: Custom taxonomy count includes draft & trashed posts

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 6 16:28:02 UTC 2011


#14084: Custom taxonomy count includes draft & trashed posts
-------------------------------------------------+-------------------------
 Reporter:  lumpysimon                           |       Owner:  garyc40
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Taxonomy                             |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch needs-testing 3.2-early    |  Resolution:
  dev-feedback                                   |
-------------------------------------------------+-------------------------

Comment (by rfair404):

 It also appears that a taxonomy that is registered to an array of
 post_types shows the count for all posts in the term on that specific post
 type taxonomy edit page. e.g.

 REGISTER a taxonomy (Tax) to two or more post type (Pt1 & Pt2)
 ADD one or more term (termA & termB) to Tax.
 Add one or more posts to Pt1 and Pt2, classify them as termA.
 Go to either of the edit-tags.php page that should exits as admin menu
 items for both Pt1 & Pt2.
 The post count shown for each existing term is for ALL posts regardless of
 type. Shouldn't ''this'' term count be just ''this'' post type?

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


More information about the wp-trac mailing list