[wp-trac] [WordPress Trac] #11276: Wrong default upload directory

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 28 13:03:52 UTC 2009


#11276: Wrong default upload directory
--------------------------+-------------------------------------------------
 Reporter:  pavelevap     |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  2.9     
Component:  Upload        |      Version:  2.8.5   
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by dd32):

 The upload_path option is defaulting to
 {{{/var/www/web5/avonita.cz/test.avonita.cz/wp-content}}}, a absolute
 path, upload_path should always be relative to ABSPATH.

 I'm not sure why the misc. page does not show the full path in the field..

 Denis: Do you feel like diving into that initial option setting code to
 try to work it out?:)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11276#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list