[wp-trac] [WordPress Trac] #3116: array_merge in do_action is heinous

WordPress Trac noreply at wordpress.org
Sun Feb 11 06:49:21 UTC 2024


#3116: array_merge in do_action is heinous
-----------------------------------+-----------------------
 Reporter:  mdawaffe               |       Owner:  mdawaffe
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  2.1
Component:  Administration         |     Version:  2.1
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------

Comment (by johnsonkue86do):

 Would it be beneficial to replace the use of `array_merge` with a loop
 when calling `do_action` in WordPress, potentially simplifying the code
 and improving performance?

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


More information about the wp-trac mailing list