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

WordPress Trac noreply at wordpress.org
Tue Nov 4 03:09:05 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 jbrinley):

 Per discussion with @johnbillion
 [https://wordpress.slack.com/archives/core/p1415067836003712 in Slack],
 17817.10.patch implements the `ArrayAccess` interface for the `WP_Hook`
 class, adding backwards compatibility with code directly accessing the
 third level of the global `$wp_filter` array. Also adds a unit test for
 the new methods.

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


More information about the wp-trac mailing list