Ticket #3182 (closed defect (bug): fixed)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

Nazgul5 years ago

  • Keywords has-patch added

Patch attached.

comment:2   ryan5 years ago

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

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

Note: See TracTickets for help on using tickets.