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

WordPress Trac noreply at wordpress.org
Sat Sep 3 12:02:05 UTC 2016


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

Comment (by noplanman):

 @pento, I see your test is adding the filters with the same priority. The
 problem only happens if the priorities are different.

 Please check #37679 again to see what I mean.

 Unfortunately I can't modify your test, as PHP/PHPUnit dies on me with a
 `Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)`
 when I change the priorities, which is very odd.
 I'm trying to find a solution for this, without luck so far.
 Maybe you have an idea why PHP is failing like this?

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


More information about the wp-trac mailing list