Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#14018 closed enhancement (fixed)

include post_id with 'get_enclosed' filter call

Reported by: willnorris's profile willnorris Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch commit
Focuses: Cc:


the 'get_enclosed' filter is called from the get_enclosed() method, which is designed to grab all of the enclosures for a post. The post ID is passed to the get_enclosed() method, but not to the accompanying filter, which would be necessary for plugins to do much of anything useful.

Attachments (1)

14018.diff (375 bytes) - added by willnorris 13 years ago.

Download all attachments as: .zip

Change History (4)

13 years ago

#1 @willnorris
13 years ago

  • Keywords has-patch added

#2 @nacin
13 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.1

#3 @automattor
13 years ago

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

(In [16275]) Pass post ID to get_enclosed filter. Props willnorris. fixes #14018

Note: See TracTickets for help on using tickets.