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

WordPress Trac noreply at wordpress.org
Fri Aug 12 13:26:58 UTC 2016


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

Comment (by danielbachhuber):

 To speak to @westi's last comment, I hadn't previously considered this
 aspect:

 > aka we appear to have added compatibility code to fix future potential
 bugs at the expense of making something else impossible that someone might
 want to do in future.

 At the end of the day, I think someone just needs to make a judgement call
 and own it.

 Previously, the judgement call was to ''try'' to be as safe as possible,
 and save the end user from accidentally stomping on a `$wp_filter` global
 that's now already been defined in 4.6.

 However, I'm not opposed to removing `_backup_plugin_globals()`, and this
 behavior of trying to save the user from themselves. In total numbers,
 WordPress sites using an advanced cache drop-in is probably relatively
 small. WP-CLI will continue to work as expected with a faulty advanced
 cache drop-in because it always disables the drop-in.

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


More information about the wp-trac mailing list