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

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 6 17:20:59 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:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by ryan):

 upload_url_path is not adjusted to accommodate safe mode the way
 upload_path is. Since safe_mode breaking mkdir() doesn't seem to be
 particularly true, let's just drop that check and always default
 upload_path and upload_url_path to blank.

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


More information about the wp-trac mailing list