[wp-trac] [WordPress Trac] #36819: Load plugin.php earlier in wp-settings.php

WordPress Trac noreply at wordpress.org
Thu May 19 00:12:29 UTC 2016


#36819: Load plugin.php earlier in wp-settings.php
----------------------------+------------------
 Reporter:  jorbin          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.6
Component:  Bootstrap/Load  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  2nd-opinion     |     Focuses:
----------------------------+------------------

Comment (by danielbachhuber):

 36819.3.diff adds docs

 > `array_merge_recursive` can be a potentially expensive operation, so if
 we can perhaps figure out an alternative, I would be :+1:

 In this case though, isn't the likelihood of `array_merge_recursive()`
 actually being called negligible? I have a hard time imagining a scenario
 where it's called, and actually has a performance impact.

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


More information about the wp-trac mailing list