[wp-trac] [WordPress Trac] #36992: In get_terms(), getting a fatal error iterating on $terms inside get_terms filter.

WordPress Trac noreply at wordpress.org
Thu Jun 2 00:18:44 UTC 2016


#36992: In get_terms(), getting a fatal error iterating on $terms inside get_terms
filter.
---------------------------+------------------------------
 Reporter:  JustinSainton  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Taxonomy       |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by JustinSainton):

 Update: Confirmed @boonebgorges' suspicion:
 https://github.com/WordPress/WordPress/blob/4.5.2/wp-
 includes/taxonomy.php#L1640-L1642

 Also, existing code [https://github.com/WordPress/WordPress/blob/master
 /wp-includes/taxonomy.php#L1201 has an unused remnant variable].

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


More information about the wp-trac mailing list