[wp-trac] [WordPress Trac] #24461: _get_term_children can loop forever (well until it times out) if there is a loop in the hierarchy

WordPress Trac noreply at wordpress.org
Fri Jan 16 17:09:13 UTC 2015


#24461: _get_term_children can loop forever (well until it times out) if there is a
loop in the hierarchy
--------------------------+---------------------------
 Reporter:  westi         |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Taxonomy      |     Version:  3.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31207"]:
 {{{
 #!CommitTicketReference repository="" revision="31207"
 Bail out of hierarchy loops in `_get_term_children()`.

 This prevents infinite loops that lead to PHP nesting limit fatal errors.

 Props boonebgorges, sgrant.
 Fixes #24461.
 }}}

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


More information about the wp-trac mailing list