[wp-trac] [WordPress Trac] #19374: Uploader uses wrong path when inserting images
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 27 23:09:36 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 | Keywords:
--------------------------+-----------------------------
== Issue: ==
I recently had someone whose WordPress install I take care of tell me that
when they went to upload images, they weren't being shown. At the time,
she was using a svn copy that hadn't been svn up'd in a few weeks. I
noticed that the uploads were being stored in the right location, but the
uploader was using the default `wp-content/uploads` location when it
inserted it into the post, causing the images to not show up.
I just confirmed that this still exists in r19456. It happens with all
plugins deactivated and on the default theme.
== To replicate: ==
1. On the options-media.php, change the upload path to something of your
choosing. For mine, I chose `/usr/home/user/domains/my-
domain.com/public_html/wp-content/my-uploads/`
2. If needed, created the folder and adjust permissions.
3. Create a new page/post, upload an image, and insert it into the post.
Take note of the address, it should be wrong according to the newly set
upload path.
4. On the server, check the new location, as well as wp-content/uploads.
The file will be in the new location (as expected), and not in wp-
content/uploads.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19374>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list