﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
12549,Incorrect file URL for existing uploaded images (3.0-single to multi-site),kpdesign,,"I upgraded an existing 2.9.2 single WordPress install to 3.0-alpha (latest nightly build), then converted it to multi-site yesterday. Image paths on the 3.0-alpha single install were fine, but once I converted it to multi-site, the existing uploaded image paths appear to be broken.

The images for the main site (now site 1) are located in '''wp-content/uploads/''' and broken down into '''year/month''' folders.

The existing uploaded images fail to display in the following locations in the Admin area:

- Post Thumbnail meta box: Gives me the option to remove the thumbnail, so it recognizes that an image had been assigned as the post thumbnail.[[BR]]
- Add Image link above the post box: Shows one image in the gallery, but the image doesn't display.[[BR]]
- Media Library: I'm presented with the list of existing uploaded images, but image thumbnails are missing.

I was able to get the images to display again by manually copying the '''year/month/''' folders inside '''wp-content/uploads/''' over to '''wp-content/blog.dir/1/files/'''.

However, the old files are still being referenced in older posts/pages, and plugins that allow image uploads (example: WP Cycle). Those will have to be fixed somehow to reflect the new image locations.

1. Are there plans to include a migration script to move the existing year/month folders into the proper directory when converting from single to multi-site? If not, there should be a notice to the user during or after the conversion that they will need to manually move those folders into the correct directory.

2. Existing references/links to these uploaded files will break if the user moves the files to '''wp-content/blog.dir/1/files/''' and deletes the old folders in '''wp-content/uploads/'''. Possible to fix those references when converting from single to multi-site?",defect (bug),closed,normal,3.0,Multisite,3.0,blocker,fixed,"multisite, reporter-feedback",kpdesign jimmcq gazouteast
