[wp-trac] [WordPress Trac] #17817: do_action/apply_filters/etc. recursion on same filter kills underlying call

WordPress Trac noreply at wordpress.org
Wed Oct 8 22:29:32 UTC 2014


#17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
-------------------------------------------------+-------------------------
 Reporter:  kernfel                              |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
Component:  Plugins                              |  Release
 Severity:  normal                               |     Version:  2.2
 Keywords:  dev-feedback has-unit-tests has-     |  Resolution:
  patch                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by leewillis77):

 Apparently that diff didn't include the new WP_Hook class. Updated patch
 attached. For info, the only real change to the code is the change from:


 {{{
 $func_args =& $args;
 }}}

 to

 {{{
 $func_args = $args;
 }}}

 in WP_Hook::do_action()

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


More information about the wp-trac mailing list