[wp-trac] [WordPress Trac] #12093: Default value in uploads folder is constantly wrong

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 31 07:15:42 UTC 2010


#12093: Default value in uploads folder is constantly wrong
--------------------------+-------------------------------------------------
 Reporter:  dokueki       |       Owner:                                     
     Type:  defect (bug)  |      Status:  new                                
 Priority:  normal        |   Milestone:  Future Release                     
Component:  Upload        |     Version:  2.9.1                              
 Severity:  normal        |    Keywords:  upload, directory, invalid, default
--------------------------+-------------------------------------------------
 I've installed my share of WordPress blogs (around, 8? 10?) and I've
 always had the following problem:
 The default value in the option for default upload directory is always the
 URL of the blog + wp-content/uploads instead of just wp-content/uploads.
 This results in a directory called 'http:' in the root directory of
 WordPress, with another empty name directory in it ('/'), and another one
 inside, ('/') -- for the http:// part, and then for whatever path the blog
 is in, would split the URL and create the directory (for example,
 http://mysite.com/blog would result in http:/, /, /, mysite.com/, blog/
 directories.

 It happens all the time for me when installing WordPress. By the time I
 fix it myself, I already have that directory on my server and it's hard to
 delete it because of the empty-names in the dirs and the : in the root
 dir.

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


More information about the wp-trac mailing list