[wp-trac] [WordPress Trac] #18072: Custom post type count for custom taxonomy incorrect because it includes revisions

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 11 18:01:23 UTC 2011


#18072: Custom post type count for custom taxonomy incorrect because it includes
revisions
-----------------------------+------------------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by nacin):

 I'm not sure if it's actually revisions that it's counting, rather, it's
 the number of posts of any type. In which case this would be a duplicate
 of a few other tickets and is due to deficiencies in the existing taxonomy
 structure, with a single term only having one term_count field, rather
 than a term_count field for each post type it is attached to.

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


More information about the wp-trac mailing list