#5482 closed defect (bug) (fixed)
wp_handle_upload adds extra file extension
| Reported by: | tellyworth | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Introduced in #6390: wp_handle_upload() doesn't properly split the base filename and extension when calling wp_unique_filename().
The enclosed patch moves the file/ext split code to wp_unique_filename() rather than require an extra parameter.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [6401]) unique filename fixes from tellyworth. fixes #5482