[wp-trac] Re: [WordPress Trac] #2682: Remove db store of absolute path for uploads

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 25 12:08:49 GMT 2006

#2682: Remove db store of absolute path for uploads
       Id:  2682            |      Status:  new                     
Component:  Administration  |    Modified:  Tue Apr 25 12:08:49 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.1                     
    Owner:  anonymous       |    Reporter:  ryanscheuermann         
Comment (by ryanscheuermann):

 With the patch, the 'upload_dir' filter is simply passed an array value
 'path' with the relative path instead of the absolute path.  If you were
 plugging into that filter, you'd have to return a relative upload
 directory for the 'path' array key as the 'handle_upload' function now
 assumes this value is relative.  'url' is not disturbed as it's already
 relative off the siteurl.

Ticket URL: <http://trac.wordpress.org/ticket/2682>
WordPress Trac <http://wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list