Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#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)

unique_filename_fix-r6400.patch​ (2.0 KB ) - added by tellyworth 19 years ago.

Download all attachments as: .zip

Change History (4)

#1 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

(In [6401]) unique filename fixes from tellyworth. fixes #5482

#2 @lloydbudd
19 years ago

  • Milestone 2.5 → 2.4

#3 @lloydbudd
19 years ago

  • Version → 2.4
Note: See TracTickets for help on using tickets.