[wp-trac] [WordPress Trac] #47007: object-cache.php loaded before must-use plugins

WordPress Trac noreply at wordpress.org
Sun Apr 21 20:57:53 UTC 2019

#47007: object-cache.php loaded before must-use plugins
 Reporter:  viktorix      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Plugins       |    Version:  5.1.1
 Severity:  normal        |   Keywords:  dev-feedback
  Focuses:                |
 I noticed that constants defined in must-use plugin were undefined if used
 in object-cache.php dropin plugin. Looking at wp-includes/load.php the
 object-cache.php check is loaded prior to must-use plugins.

 I assumed must-use plugins are always loaded before all other plugins. If
 this is not a bug and it functions as intended, updating documentation
 would be helpful to note that must-use plugins are loaded after dropin


Ticket URL: <https://core.trac.wordpress.org/ticket/47007>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list