Opened 7 years ago

Closed 7 years ago

#3182 closed defect (bug) (fixed)

Upload error message uses wrong variable

Reported by: Nazgul Owned by: anonymous
Priority: normal Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords: upload has-patch
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 7 years ago.

Download all attachments as: .zip

Change History (3)

Nazgul7 years ago

  • Keywords has-patch added

Patch attached.

comment:2   ryan7 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.