[wp-trac] [WordPress Trac] #39338: class-wp-hook.php - apply_filters() infinite loop

WordPress Trac noreply at wordpress.org
Tue Dec 20 08:42:32 UTC 2016


#39338: class-wp-hook.php - apply_filters() infinite loop
-------------------------------+------------------------------
 Reporter:  frettled           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Plugins            |     Version:  4.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by dd32):

 * keywords:   => reporter-feedback


Comment:

 Hi @frettled and welcome to Trac.

 Are you able to offer any extra specific details about how this scenario
 was triggered? For example, the hook name which was executing and anything
 which was hooked onto it, or all plugins in use on the site?

 Protecting against this is something we should do, however in order to do
 that effectively, we need to determine how and why it happens to test it.
 I've tried a few random combinations and I can't get it in a situation
 where `$this->iterations[ $nesting_level ]` is unset.

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


More information about the wp-trac mailing list