WordPress.org

Make WordPress Core

Opened 17 months ago

Last modified 10 months ago

#22894 new enhancement

Need WordPress Media Uploader Stop or Cancel Button in WP Version 3.5

Reported by: onetarek Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords: ui-feedback
Focuses: Cc:

Description

Today I was testing the new media uploader of WP 3.5 from post editor by clicking 'Add Media'. I clicked 'upload files' and I choose a big file from my computer by a mistake. But I did not want to upload that file. Then I wanted to cancel the uploading, but there is no stop or cancel button . Then I close the popup window and open again by clicking 'Add Media' button. I see the previous file is being uploaded yet. I choose another small file and both files upload are running.
http://onetarek.com/wp-content/uploads/2012/12/stop-media-uploader.jpg

Change History (5)

comment:1 ocean9017 months ago

  • Keywords ui-feedback added; needs-testing removed
  • Type changed from feature request to enhancement

comment:2 SergeyBiryukov17 months ago

There's no way to cancel the currently uploading file from JS. See the discussion in #19050.

comment:3 SergeyBiryukov16 months ago

Related/duplicate: #7634

comment:4 SergeyBiryukov11 months ago

#24569 was marked as a duplicate.

comment:5 mark-k10 months ago

Maybe just add a notification if it is a big upload. Something like "Uploading these file(s) will probably take more then a minute, are you sure you want to upload them?". Maybe use the hearbeat test to estimate the actual upload speed to make an educated guess.

Note: See TracTickets for help on using tickets.