[wp-trac] [WordPress Trac] #58458: Move the load of `array_keys` to a different level in the `WP_Hook` class

WordPress Trac noreply at wordpress.org
Thu Aug 17 18:02:00 UTC 2023


#58458: Move the load of `array_keys` to a different level in the `WP_Hook` class
-------------------------------------+--------------------------
 Reporter:  bor0                     |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.4
Component:  General                  |     Version:  6.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  performance
-------------------------------------+--------------------------
Changes (by oglekler):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 This ticket was discussed during a bug scrub, an audit is needed of where
 else $this->callbacks is changed to ensure the cached value is refreshed
 for each change.

 Please pay attention that this is an enhancement and needs to be in trunk
 before Beta 1.

 Add props to @hellofromTonya

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58458#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list