WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#10707 closed defect (bug) (fixed)

media_upload_form_url isn't applied to all links to the media upload form

Reported by: nbachiyski Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: Media Keywords: reporter-feedback
Focuses: Cc:

Description

There are two cases, in which the apply_filters() call is omitted and the URL is used as-is.

Attachments (1)

media_upload_form_url.diff (879 bytes) - added by nbachiyski 5 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 scribu5 years ago

  • Milestone changed from Unassigned to 2.9

comment:2 automattor5 years ago

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

(In [11896]) Always filter the url in the media upload form. Fixes #10707 props nbachiyski.

comment:3 azaozz5 years ago

  • Keywords reporter-feedback added; has-patch removed
  • Resolution fixed deleted
  • Status changed from closed to reopened

What is the usercase for this? There's no upload_url (files cannot be uploaded) in the Gallery and Library tabs so that filter is not applied there.

comment:4 ryan4 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.