[wp-trac] [WordPress Trac] #64180: Simplify and improve performance in `WP_Hook::apply_filters()`
WordPress Trac
noreply at wordpress.org
Sat Nov 1 22:26:39 UTC 2025
#64180: Simplify and improve performance in `WP_Hook::apply_filters()`
-------------------------+------------------------------
Reporter: grapestain | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 6.8.3
Severity: minor | Resolution:
Keywords: | Focuses: performance
-------------------------+------------------------------
Comment (by grapestain):
The avoiding of the `array_slice()` is mentioned here:
https://core.trac.wordpress.org/ticket/17817#comment:117 but the reasoning
just points to `do_action()`, where the same was done, but `do_action`
today calls `apply_filters` so it came full circle.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64180#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list