[wp-trac] [WordPress Trac] #3735: Link to file path incorrect for non-image files

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 2 14:21:11 GMT 2007


#3735: Link to file path incorrect for non-image files
---------------------+------------------------------------------------------
 Reporter:  jsekera  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.3      
Component:  General  |     Version:           
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 When you upload a non-image file (word doc, spreadsheet etc.)  and choose
 “link to file” from the dropdown menu to place it into a page or a post,
 the path created incorrectly references the wp-admin directory.

 Link created is:

 {{{
 http://example.com/wp-admin/test.xls
 }}}


 Should be:

 {{{
 http://example.com/wp-content/uploads/2007/02/test.xls
 }}}

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


More information about the wp-trac mailing list