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

WordPress Trac noreply at wordpress.org
Wed Jul 9 02:23:13 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 jeremyfelt):

 Replying to [comment:5 jrf]:
 > ... that doesn't take away anything from my earlier remark that the
 constant `WP_INSTALLING` is not unique enough as it's also used when an
 upgrade is run.

 I haven't run into this scenario myself, but I think you can target an mu-
 plugin for load during an upgrade with `WP_INSTALLING &&
 is_blog_installed()`. This would at least let you know if options were
 available.

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


More information about the wp-trac mailing list