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

WordPress Trac noreply at wordpress.org
Fri Aug 5 09:03:12 UTC 2016


#36819: Load plugin.php earlier in wp-settings.php
-----------------------------------+------------------------
 Reporter:  jorbin                 |       Owner:  jorbin
     Type:  task (blessed)         |      Status:  reviewing
 Priority:  normal                 |   Milestone:  4.6
Component:  Bootstrap/Load         |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------

Comment (by schlessera):

 `array_merge_recursive()` will create new sublevels when there are
 collisions. Instead of writing a custom loop like in 36819.4.diff (bad for
 performance), consider using `array_replace_recursive()`, which is
 probably the behavior that is wanted here.

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


More information about the wp-trac mailing list