[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 13:00:52 GMT 2006
#2682: Remove db store of absolute path for uploads
----------------------------+-----------------------------------------------
Id: 2682 | Status: new
Component: Administration | Modified: Tue Apr 25 13:00:52 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.1
Owner: anonymous | Reporter: ryanscheuermann
----------------------------+-----------------------------------------------
Comment (by random):
Oh, to clarify: I use that filter (rather than WP's built-in option)
because my upload directory is nowhere near the WordPress directory. I'm
not enthusiastic about passing '../../../../somedir/anotherdir/' or
whatever as the path.
Also, with the patch applied, thumbnails are created but WP can't find
them.
Maybe the array from wp_upload_dir() could store a 'relative_path' as well
as 'path'?
--
Ticket URL: <http://trac.wordpress.org/ticket/2682>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list