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

WordPress Trac noreply at wordpress.org
Mon Sep 14 16:37:00 UTC 2015


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

Comment (by kitchin):

 17817.5.diff is missing the /tests/phpunit/tests/hooks/* from 17817.4.diff
 Also I wonder if the function/method signatures in 17817.5 are so similar
 that it's confusing:

 `function add_filter( $tag, $function_to_add, $priority = 10,
 $accepted_args = 1 )`
 `public function add_filter( $function_to_add, $tag, $priority,
 $accepted_args )`

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


More information about the wp-trac mailing list