[wp-trac] Re: [WordPress Trac] #7305: Image uploader expects the upload path to be "wp-content/uploads"

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

#7305: Image uploader expects the upload path to be "wp-content/uploads"
 Reporter:  da3rX           |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.6      
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
Comment (by da3rX):

 I think this is happening because the "upload_url_path" option has no
 value in my database and the wp_upload_dir function in wp-
 includes/functions.php is setting it to the default value:

 if ( !$url = get_option( 'upload_url_path' ) )
         $url = WP_CONTENT_URL . '/uploads';

 I am not sure where the "upload_url_path" option needs to be set though.
 Probably when saving the settings.

Ticket URL: <http://trac.wordpress.org/ticket/7305#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list