﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
2682,Paths should be relative for images and uploads,ryanscheuermann,ryanscheuermann,"I don't know about anybody else, but this annoys the people who migrate WP installs from one server to another.  The current code for uploading files stores the absolute path to the file in the database (postmeta) when it's possible to just store the relative path.

The way it is now, the code serializes an array into the database, and when migrating, you have to update the byte counts in the DB for the uploads to display on the new server.  By using relative paths off the ABSPATH variable, this is unnecessary.

I've attached a patch, but it needs serious testing.",defect (bug),closed,high,2.8,Upload,2.1,major,fixed,"upload, migration, has-patch, needs-testing",
