WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 8 years ago

Last modified 8 years 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 12 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
12 years ago

  • Milestone changed from 3.0 to Future Release

#2 @momo360modena
12 years ago

This modification is really minor.

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

#3 @nacin
12 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.

#4 @songsthatsaved
8 years ago

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

This corresponds to the old media experience. Closing.

#5 @ocean90
8 years ago

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