WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 8 months ago

Last modified 8 months ago

#12855 closed enhancement (wontfix)

Add 2 filters on get_media_item(s) functions

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

Description

Allow plugin to add some content on media functions.

Attachments (1)

media.php.patch (895 bytes) - added by momo360modena 4 years ago.

Download all attachments as: .zip

Change History (6)

momo360modena4 years ago

comment:1 nacin4 years ago

  • Milestone changed from 3.0 to Future Release

comment:2 momo360modena4 years ago

This modification is really minor.

I see not why she could not be integrated into the version 3.0

comment:3 nacin4 years ago

They work for you, but there are larger implications. Are they consistent? Are the arguments passed to them in a good order, and are those consistent, and are there others that should be added, or ones in there now omitted? Would filtering another part of the function, instead of its raw output, be a better use of cpu cycles? Are there other functions that should get similar filters for consistency?

We're also planning to rework media/upload significantly in 3.1. Don't think we should add a filter now when those functions may very well change significantly in a month. That all said, we're not going to add little enhancements at this stage, as we're not only far past feature freeze but we've now entered beta.

comment:4 songsthatsaved8 months ago

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

This corresponds to the old media experience. Closing.

comment:5 ocean908 months ago

  • Keywords needs-testing removed
  • Milestone Future Release deleted
  • Priority changed from low to normal
Note: See TracTickets for help on using tickets.