Make WordPress Core

Opened 9 years ago

Closed 9 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:


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 9 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
9 years ago

  • Milestone changed from Unassigned to 2.9

#2 @automattor
9 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.

#3 @azaozz
9 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.

#4 @ryan
9 years ago

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