[wp-trac] [WordPress Trac] #7308: WordPress 2.6 use default upload path to generate file url.

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 15 15:25:18 GMT 2008


#7308: WordPress 2.6 use default upload path to generate file url.
---------------------+------------------------------------------------------
 Reporter:  gmpfree  |       Owner:  anonymous      
     Type:  defect   |      Status:  new            
 Priority:  normal   |   Milestone:  2.7            
Component:  General  |     Version:                 
 Severity:  normal   |    Keywords:  upload path url
---------------------+------------------------------------------------------
 just upgraded from 2.5.1 to 2.6, wordpress starts to generate incorrect
 url for newly uploaded files, even though the file is uploaded to correct
 directory.

 by default, an upgrade will leave the option "Full URL path to files
 (optional)" as blank, with this config, wordpress 2.6 provides file url as

 http://blog.mysite.com/wp-content/uploads/blah.file

 instead of custom path specified in "Store uploads in this folder" field;
 unless i manually update Full URL path to

 http://blog.mysite.com/custom-path

 it would use the default upload path to generate GUID under wp_posts.

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


More information about the wp-trac mailing list