WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#21437 closed defect (bug) (fixed)

Make the browser property in wp.Uploader optional.

Reported by: koopersmith Owned by: koopersmith
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.4.1
Component: Media Keywords:
Focuses: Cc:

Description

Currently, the wp.Uploader JS constructor requires a browse button with an optional dropzone. Both should be optional, though — you should be able to create a dropzone-only uploader.

Change History (2)

comment:1 koopersmith2 years ago

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

In [21379]:

Make the browser property in wp.Uploader optional. fixes #21437.

comment:2 koopersmith2 years ago

In [21380]:

When the browser property is not provided to wp.Uploader, hide Plupload's auto-created file input and call Plupload's disableBrowse. see #21437, [21379].

Note: See TracTickets for help on using tickets.