[wp-trac] [WordPress Trac] #20635: _pad_term_count get's stuck if there is a loop in the hierarchy

WordPress Trac noreply at wordpress.org
Mon Jan 19 16:51:46 UTC 2015


#20635: _pad_term_count get's stuck if there is a loop in the hierarchy
-----------------------------------------------+---------------------
 Reporter:  westi                              |       Owner:  westi
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  4.2
Component:  Taxonomy                           |     Version:
 Severity:  normal                             |  Resolution:  fixed
 Keywords:  westi-likes has-patch 2nd-opinion  |     Focuses:
-----------------------------------------------+---------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31248"]:
 {{{
 #!CommitTicketReference repository="" revision="31248"
 Better loop detection for `_pad_term_counts()`.

 The `$ancestors` check must be reset for each term in order for term
 counts
 to be correct.

 Fixes #20635.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20635#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list