#3735 closed defect (bug) (worksforme)
Link to file path incorrect for non-image files
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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
Change History (3)
Note: See
TracTickets for help on using
tickets.
Closing as WORKSFORME
ENV: trunk r5241
The link created for me was {{<a href="http://localhost/wp/trunk/wp-content/uploads/2007/04/good-enough-testing.doc" title="good-enough-testing.doc">good-enough-testing.doc</a>}}