[wp-trac] [WordPress Trac] #38011: WP_Hook class late assignment behavior change
WordPress Trac
noreply at wordpress.org
Tue Sep 13 03:53:47 UTC 2016
#38011: WP_Hook class late assignment behavior change
--------------------------+----------------------
Reporter: salcode | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: trunk
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
--------------------------+----------------------
Changes (by pento):
* status: assigned => closed
* resolution: => wontfix
* milestone: 4.7 =>
Comment:
Thank you for the clear and in-depth report, @salcode!
This change was intentional, to match the expected behaviour - adding a
function to the currently running action or filter, with a priority that
has already been done, should not be run.
I'd consider reverting back to previous behaviour if there are many
reports of broken plugins caused by this, but let's leave it as is for
now, and re-evaluate later.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38011#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list