Make WordPress Core

Opened 6 months ago

#42978 new defect (bug)

Automatically clear file upload error messages

Reported by: ComputerGuru Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Media Keywords:
Focuses: ui, administration Cc:


When an error occurs on file upload in the media uploader while drafting a post, the error message persists after both a) another file is successfully uploaded, b) the media manager is closed and re-opened.

In both of these cases, it is my opinion that the user is best served by having the error message automatically dismissed, as

  1. Its positioning is not typical of a "historic/cumulative" error log,
  2. It may be assumed that by successfully uploading another file the error first encountered is no longer relevant, and
  3. An indefinite amount of time may have passed since the error was first encountered and the media manager subsequently closed and the next time the media manager/upload div was re-opened such that the user may have completely forgotten about the error and may be confused to see a red error box and mistakenly think it is associated with some action he/she just took,
  4. As a dialog, nothing about the media manager suggests that its state should persist after being closed and re-opened.

(see attachment as an example of an error)

Attachments (1)

wp-upload-error.png (1.5 MB) - added by ComputerGuru 6 months ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.