[wp-trac] [WordPress Trac] #26710: Wrong redirect URL after core update when WP is in subdirectory

WordPress Trac noreply at wordpress.org
Tue Dec 24 11:05:59 UTC 2013


#26710: Wrong redirect URL after core update when WP is in subdirectory
-----------------------------+-----------------------------
 Reporter:  tar.gz           |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  3.8
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 When updating WP 3.7.1 to 3.8 on a WP install that is located in a
 subdirectory (using the "Giving WordPress Its Own Directory" method),
 after the update, the browser forwards to a non-existing URL which causes
 a 404 error.

 In this configuration, in the wp-config file, WP_SITEURL is set to
 example.com/wp and WP_HOME to example.com.

 The update is triggered from the admin area located at example.com/wp/wp-
 admin/update-core.php

 When the update finishes, instead of forwarding to example.com/wp/wp-
 admin/about.php?updated, it sends the user to example.com/wp-
 admin/about.php?updated. Because of the missing subdirectory, this
 displays a 404 error.

 Upon returning to the dashboard, the user will notice that the update has
 been correctly applied, but he won't ever see the "Welcome to 3.8" page.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26710>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list