WordPress.org

Make WordPress Core

#21654 closed defect (bug) (wontfix)

media.php media_buttons url has no apply_filters

Reported by: CircaLucid Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: Cc:

Description

I'm trying to change the default tab in the media upload iframe. Stepping through every call, the only way I could find is to change the URL that triggers the iframe, but the media_button function doesn't have an apply_filters so I can change the URL.

I fixed this and attached a patch.

Attachments (1)

media.php.diff (860 bytes) - added by CircaLucid 20 months ago.
patch

Download all attachments as: .zip

Change History (3)

CircaLucid20 months ago

patch

comment:2 ocean9020 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.