[wp-trac] [WordPress Trac] #20708: Wrong posts count in taxonomy table

WordPress Trac wp-trac at lists.automattic.com
Sat May 19 11:35:20 UTC 2012


#20708: Wrong posts count in taxonomy table
--------------------------+-----------------------------
 Reporter:  thomask       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.3.2
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 when you are using same taxonomy for more post types, and you look at the
 taxonomy edit screen (/wp-admin/edit-tags.php?taxonomy=taxonomy-
 name&post_type=post-type) the table on the right shows wrong count - total
 of all taxonomies.
 It is not exactly "problem", i understand why it is done, wp maintains
 only one count, but anyway it is a bug and may confuse someone, when he
 sees e.g. 5 items in the table, click on the count and there he would see
 only one item.
 IMO there are two possibilities how to solve it
 a) create counts "live" - not db efficient, but may not be a big problem,
 as the taxonomy edit screen is not opened too often
 b) put the counts to the taxonomy->post_type pairs table

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20708>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list