[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:26:34 GMT 2006
#2682: Remove db store of absolute path for uploads
----------------------------+-----------------------------------------------
Id: 2682 | Status: new
Component: Administration | Modified: Tue Apr 25 12:26:34 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.1
Owner: anonymous | Reporter: ryanscheuermann
----------------------------+-----------------------------------------------
Comment (by westi):
I'm not sure this patch is taking the correct approach to fixing this
issue.
We need all the filesystem operations to work with absolute paths so why
strip off ABSPATH so early and then keep adding it back on?
Why not strip ABSPATH off at the end of wp_handle_upload to return a
relative url then?
--
Ticket URL: <http://trac.wordpress.org/ticket/2682>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list