[wp-trac] [WordPress Trac] #26969: Incorrect WP path set when creating a new site with wp in a subfolder

WordPress Trac noreply at wordpress.org
Fri Jan 31 19:39:59 UTC 2014


#26969: Incorrect WP path set when creating a new site with wp in a subfolder
-------------------------------+------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Upgrade/Install    |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------
Changes (by Denis-de-Bernardy):

 * status:  new => closed


Comment:

 Replying to [comment:5 Denis-de-Bernardy]:
 > Replying to [comment:3 nacin]:
 > > wp-load.php does check that one level up wp-settings.php does not also
 exist. This could help. But I feel this has the potential to cause more
 problems than it could solve. Short of parsing wp-blog-header.php, which
 sounds not very fun, I'm not really sure what we should do here. You cite
 the new wp_install hook — seems like it would make more sense for this
 check to remain plugin territory.
 >
 > how about using debug_backtrace() to check where WP was included from
 exactly?

 Better yet, what about checking the referral that sends the user to the
 install url?

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


More information about the wp-trac mailing list