WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 8 weeks ago

#22925 new defect (bug)

media_upload_tabs filter not functioning

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

Description

When using the media_upload_tabs filter, the array passed through contains a 'library' item that usually can be unset, therefore removing the Media Library tab from the front-end uploader. This no longer works. I cannot even rename the labels using this method, however the array of tabs is still coming through, and modifying it does nothing. The filter is still active, but appears to do nothing.

Change History (3)

comment:1 kegster16 months ago

This happened as of the 3.5 upgrade, of course.

comment:2 SergeyBiryukov16 months ago

  • Component changed from General to Media

comment:3 DH-Shredder8 weeks ago

  • Keywords reporter-feedback added

Hi kegster!

Apologies that it took so long for a reply.

This filter is effectively deprecated, along with the old-style media uploader, as it only applies to the previous media upload modal, and not the new one.

Is the filter not working for you when you're using it to modify the old-style modal, or is the issue that you can't modify the tabs of the new media modal with this filter?

Note: See TracTickets for help on using tickets.