[wp-trac] [WordPress Trac] #47825: mu-plugins loaded before WordPress is installed

WordPress Trac noreply at wordpress.org
Sun Aug 4 00:36:23 UTC 2019


#47825: mu-plugins loaded before WordPress is installed
--------------------------+-----------------------------
 Reporter:  Ryan_B        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Plugins       |    Version:
 Severity:  trivial       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I ran into an issue today where because WordPress loads mu-plugins even on
 a blog that is not installed I experience a white screen of death. I did
 find that removing the mu-plugins, installing, then replacing mu-plugins
 to work.

 Now this may be somewhat of a edge-case but it seems that perhaps core
 should do a sanity check before loading mu-plugins such as:

 {{{#!php

 if ( is_blog_installed() ) {
     load_mu_plugins();
 }

 }}}

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


More information about the wp-trac mailing list