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

WordPress Trac noreply at wordpress.org
Sat Aug 6 10:27:14 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 needs-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by pento):

 Noice.

 [attachment:36819.6.diff] adds the
 `test_applied_actions_are_counted_after_restore` test, which ensures
 `$wp_actions` is restored correctly.

 `test_restore_plugin_globals_includes_additions` tests that `$wp_filter`
 is restored correctly, all relevant tests continue to pass when both
 [attachment:36819.6.diff] and [attachment:17817.11.diff:ticket:17817
 17817.11.diff] are applied.

 (There are some unrelated bugs in [attachment:17817.11.diff:ticket:17817
 17817.11.diff] that need fixing.)

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


More information about the wp-trac mailing list