Make WordPress Core

Opened 14 years ago

Closed 11 years ago

Last modified 11 years ago

#12855 closed enhancement (wontfix)

Add 2 filters on get_media_item(s) functions

Reported by: momo360modena's profile 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 14 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
14 years ago

  • Milestone changed from 3.0 to Future Release

#2 @momo360modena
14 years ago

This modification is really minor.

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

#3 @nacin
14 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
11 years ago

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

This corresponds to the old media experience. Closing.

#5 @ocean90
11 years ago

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