[wp-trac] [WordPress Trac] #28668: MU-plugins are loaded when doing a virgin install

WordPress Trac noreply at wordpress.org
Fri Jul 4 13:03:45 UTC 2014


#28668: MU-plugins are loaded when doing a virgin install
----------------------------+----------------------
 Reporter:  jrf             |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Bootstrap/Load  |     Version:
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |     Focuses:
----------------------------+----------------------

Comment (by jrf):

 Hi jeremyfelt, thanks for your thoughts.

 The plugin in question already implements a form of bootstrapping with
 sub-plugins, however whether it needs to load those is determined by
 settings saved to the options table.
 So within the bootstrap which is run on `plugins_loaded`, you get calls to
 the database to retrieve the options which then cause the errors because
 the database doesn't exist yet.

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


More information about the wp-trac mailing list