Opened 21 years ago
Closed 20 years ago
#1358 closed defect (bug) (fixed)
Wordpress strips '-' from uploaded file names.
| Reported by: | anonymousbugger | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5.1 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
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
@
20 years ago
- Resolution → fixed
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This patch doesn't strip dashes from the filenames.