Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#3182 closed defect (bug) (fixed)

Upload error message uses wrong variable

Reported by: nazgul's profile Nazgul Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: upload has-patch
Focuses: Cc:

Description

When we try to move the file to the upload filder in wp_handle_upload, we give an error message "The uploaded file could not be moved to %s." when it fails.

Only the wrong variable is being used to populate %s.

Attachments (1)

3182.diff (628 bytes) - added by Nazgul 18 years ago.

Download all attachments as: .zip

Change History (3)

@Nazgul
18 years ago

#1 @Nazgul
18 years ago

  • Keywords has-patch added

Patch attached.

#2 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4266]) Use correct var. Props Nazgul. fixes #3182

Note: See TracTickets for help on using tickets.