[wp-trac] [WordPress Trac] #53218: Make apply_filters() variadic
WordPress Trac
noreply at wordpress.org
Mon Jun 21 00:34:14 UTC 2021
#53218: Make apply_filters() variadic
-------------------------+-----------------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 5.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by jrf):
This is the comment which actually _does_ apply to the global
`apply_filters()` function and why it wasn't changed in the previous
ticket:
> For the remaining calls to `func_get_args()` I didn't see any real
benefit in making this change for various reasons.
https://core.trac.wordpress.org/ticket/47678#comment:30
And for this particular case the reason was that a patch would result in
what is currently proposed, which would not have a beneficial effect on
performance.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53218#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list