[wp-trac] [WordPress Trac] #19374: Uploader uses wrong path when inserting images

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 19 19:48:32 UTC 2011

#19374: Uploader uses wrong path when inserting images
 Reporter:  ryanmurphy    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
Changes (by RyanMurphy):

 * cc: ryan@… (added)


 Sorry it's taken this long for me to reply, I used to get emailed without
 CC'ing on tickets I created, but I guess that changed.

 Replying to [comment:1 dd32]:
 > The upload path in the admin should be set to a relative-to-ABSPATH I
 believe, and you're also expected to fill out the URL if you change the
 location. Either (or both) of those 2 assumptions should correct the issue
 you're seeing.
 > The settings page does need to be a bit more clear, it also needs to
 process the data on there, and show some more info (ie. guess the
 resulting url).
 It works when I fill in the URL.

 Replying to [comment:2 kurtpayne]:
 > If I set the path to the uploads folder to a relative path (e.g. wp-
 content/my-uploads), as described by dd32, then the uploads worked as
 indicated. Files went to the correct folder, images displayed correctly in
 the library, when inserting into a post, and on the public site.

 Works for me too once I change it to a relative location.

 I've attached a patch which adds more information to the URL setting

Ticket URL: <http://core.trac.wordpress.org/ticket/19374#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list