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

WordPress Trac noreply at wordpress.org
Tue Aug 6 23:48:54 UTC 2019


#47825: mu-plugins loaded before WordPress is installed
--------------------------+------------------------
 Reporter:  Ryan_B        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Plugins       |     Version:
 Severity:  trivial       |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------

Comment (by Ryan_B):

 Replying to [comment:2 SergeyBiryukov]:
 > Hi @Ryan_B, welcome to WordPress Trac! Thanks for the report.
 >
 > This was previously discussed in #28668, and the consensus was that it's
 the expected behavior, as there are several filters and actions available
 during the installation process that can still be useful to customize the
 installation.
 >
 > If you think the decision should be reconsidered, let's continue the
 discussion there.

 That's fair, I didn't consider the possibility of wanting to hook into the
 install process.  FWIW I moved my mu-plugins to a sub directory that is
 not autoloaded, then from a php script in mu-plugins conditionally load
 them if WordPress is already installed.

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


More information about the wp-trac mailing list