[wp-trac] [WordPress Trac] #17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
WordPress Trac
noreply at wordpress.org
Tue Feb 17 07:28:50 UTC 2015
#17817: do_action/apply_filters/etc. recursion on same filter kills underlying call
-------------------------------------------------+-------------------------
Reporter: kernfel | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.2
Component: Plugins | Version: 2.2
Severity: normal | Resolution:
Keywords: dev-feedback has-unit-tests has- | Focuses:
patch 4.2-early needs-docs |
-------------------------------------------------+-------------------------
Comment (by toscho):
Replying to [comment:102 DrewAPicture]:
>
> 1. Worth making a decision about how/if we plan to support making this
extensible, i.e. marking as `final` or not
Only make it final if we have an interface. Abstract dependency injection
or mocking is a nightmare already with `WP_Post`, let’s not repeat this
mistake.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17817#comment:106>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list