[wp-trac] [WordPress Trac] #9481: Uploads folder spec relative url assumes under wordpress folder

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 8 02:46:07 GMT 2009


#9481: Uploads folder spec relative url assumes under wordpress folder
--------------------------+-------------------------------------------------
 Reporter:  anmari        |       Owner:                    
     Type:  defect (bug)  |      Status:  new               
 Priority:  low           |   Milestone:  Unassigned        
Component:  Media         |     Version:                    
 Severity:  minor         |    Keywords:  uploads wp-content
--------------------------+-------------------------------------------------
 The relative url for the upload path assumes it is under the siteurl (ie
 wordpress folder) and the default suggests wp-content/uploads, which
 implies that one should be loading files under the wp-content directory.
 However relative url always loads under specified 'siteurl'

 It does not make sense to have uploads in wordpress code directory,
 I think the assumption should be that the relative upload path is
 either[[BR]]

 1. under the home url  or[[BR]]

 2. under the potentially relocated wp-content directory.[[BR]]


 One can get around this for now by using the "full url path" and have the
 uploads wherever you want - (Although the flash loader does not seem happy
 loading to top level directory, even though I have mod security fix there)

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


More information about the wp-trac mailing list