[wp-trac] [WordPress Trac] #58290: Save a few processing cycles in `WP_Hook`
WordPress Trac
noreply at wordpress.org
Wed May 10 18:47:36 UTC 2023
#58290: Save a few processing cycles in `WP_Hook`
-----------------------------------+--------------------------
Reporter: bor0 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.3
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: performance
-----------------------------------+--------------------------
Comment (by johnbillion):
Correction: With this change in place the count actually happens once for
every callback where `accepted_args` is not set to 0. Seems like therefore
this will most often increase the number of counts that happen.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58290#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list