[wp-trac] [WordPress Trac] #41947: upload_path wrong after server move

WordPress Trac noreply at wordpress.org
Fri Sep 22 00:38:16 UTC 2017


#41947: upload_path wrong after server move
--------------------------+------------------------------
 Reporter:  steevithak    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  4.8.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by dd32):

 * keywords:   => close
 * component:  General => Upload


Comment:

 The `upload_path` option is used for when you're storing the uploads in a
 non-standard location. If it's being uploaded into `wp-content/uploads` it
 can/should be left blank (Along with the `upload_url_path` option).

 The `upload_path` option is exposed on the Settings -> Media screen, and
 unless it was set previously, it's hidden by default in newer versions of
 WordPress.

 IMHO: If you're setting `upload_path`, it's not something that can be
 automatically updated, and must be taken into consideration when you're
 moving servers - you've told WordPress to store files there after all.

 It sounds like https://codex.wordpress.org/Moving_WordPress could maybe do
 with a reference to it, the codex is a wiki and anyone can edit it as they
 see fit.

 I don't think anything needs to be changed here, I'd suggest this should
 be closed as `invalid` myself.

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


More information about the wp-trac mailing list