[wp-trac] [WordPress Trac] #64186: has_filter()/has_action() do not support an expected $priority param
WordPress Trac
noreply at wordpress.org
Mon Nov 3 23:45:59 UTC 2025
#64186: has_filter()/has_action() do not support an expected $priority param
--------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Plugins | Version: 2.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"61118" 61118]:
{{{
#!CommitTicketReference repository="" revision="61118"
Plugins: Add missing `$priority` parameter to `has_filter()` and
`has_action()`.
This brings `has_filter()`/`has_action()` in parity with
`add_filter()`/`add_action()` and `remove_filter()`/`remove_action()`, all
of which support a `$priority` parameter.
Props westonruter, swissspidy.
Fixes #64186.
See #64178.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64186#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list