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

WordPress Trac noreply at wordpress.org
Fri Sep 11 15:30:57 UTC 2015


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

Comment (by jorbin):

 I modified @wonderboymusic's patch to add a few more @ticket references in
 the unit tests.

 Looking at this more, I think it might make sense to mark everything as
 final, at least initially.  It's easy to remove final, but damn near
 impossible to add it back later on without breaking things.  As hooks are
 the foundation of the WordPress API, I think it's important that they work
 consistently across WordPress installs.

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


More information about the wp-trac mailing list