[wp-trac] [WordPress Trac] #24187: Parent Category Count Update

WordPress Trac noreply at wordpress.org
Thu Apr 25 09:33:06 UTC 2013


#24187: Parent Category Count Update
--------------------------+------------------------------
 Reporter:  vivek.jain    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by knutsp):

 * component:  Validation => Taxonomy


Comment:

 I think it's by design that the count is only for posts explicitly
 connected to that category. You can move a category to another parent, and
 in such case it would involve a huge recount on sites with many posts.

 There are two alternatives, besides "fixing" it in core:
 1. Always add the parent category when a child is added, manually or
 enforced through a plugin.
 2. A plugin that lets you recount, counting also child category posts.
 Possibly forcing a complete recount when the hierarchy is changed by
 moving or deleting a child category.

 Expect a wontfix. IMO.

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


More information about the wp-trac mailing list