[wp-trac] [WordPress Trac] #23197: wp-activate.php, without explanation, does not load site plugins

WordPress Trac noreply at wordpress.org
Mon Oct 12 00:40:32 UTC 2015


#23197: wp-activate.php, without explanation, does not load site plugins
-------------------------------------------------+-------------------------
 Reporter:  radiok                               |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
Component:  Login and Registration               |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch needs-testing needs-       |  Resolution:
  refresh                                        |     Focuses:  multisite
-------------------------------------------------+-------------------------

Comment (by jeremyfelt):

 Digging a bit more into history on this.
 https://mu.trac.wordpress.org/ticket/1151 provides a bit more insight,
 though not much.

 Part of me wonders if this is just precautionary, but it's hard to tell.
 If an activation key is provided, `wpmu_create_blog()` ends up firing and
 also ensures that `WP_INSTALLING` is set to true. That would be after
 plugins are already loaded if we removed the initial check. I followed the
 chain and never ran into anything that relied on it.

 This still needs some good testing, probably with several popular plugins
 activated while working the activation process.

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


More information about the wp-trac mailing list