[wp-trac] [WordPress Trac] #63479: current_filter() can return false if fatal
WordPress Trac
noreply at wordpress.org
Tue May 27 15:51:56 UTC 2025
#63479: current_filter() can return false if fatal
--------------------------------------------+---------------------
Reporter: kkmuffme | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Plugins | Version:
Severity: trivial | Resolution: fixed
Keywords: has-patch commit has-test-info | Focuses: docs
--------------------------------------------+---------------------
Changes (by jorbin):
* owner: (none) => jorbin
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"60258" 60258]:
{{{
#!CommitTicketReference repository="" revision="60258"
Plugins: Clarify documentation for when `current_action` and
`current_filter` can return false.
If `current_action` or `current_filter` is called outside of an
action/filter, then these functions will return false.
Props debarghyabanerjee, mukesh27, peterwilsoncc, SirLouen.
Fixes #63479.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63479#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list