Opened 20 years ago
Closed 19 years ago
#1358 closed defect (bug) (fixed)
Wordpress strips '-' from uploaded file names.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
When I uploaded a file named '2005-05-11-helsinki-chimney-far-away.jpg', it was saved as 20050511helsinkichimneyfaraway.jpg
IMHO, the result looks quite odd.
Attachments (1)
Change History (4)
#3
@
19 years ago
- Resolution set to fixed
- Status changed from new to closed
This ticket hasn't been updated in over a year.
I haven't actually tested to see if it's fixed, but the uploading code has had a major overhaul since then and now uses sanitize_title_with_dashes which allows for dashes. (The file mentioned in the patch is even no longer part of trunk)
If this is still a problem, feel free to re-open the ticket.
Note: See
TracTickets for help on using
tickets.
This patch doesn't strip dashes from the filenames.