Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#35474 closed enhancement (fixed)

Introduced the `$post` parameter in get_the_excerpt

Reported by: sebastianpisula's profile sebastian.pisula Owned by: swissspidy's profile swissspidy
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: template Cc:

Description (last modified by SergeyBiryukov)

I saw new fix [36319] by swissspidy. I think that filter in this function should have new param - WP_Post.

I have more opportunities in make custom filter.

Attachments (1)

35474.patch (737 bytes) - added by sebastian.pisula 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
9 years ago

  • Focuses template added
  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.5

#2 @swissspidy
9 years ago

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

In 36321:

Post: After [36319], add $post parameter to the get_the_excerpt filter.

Props sebastian.pisula.
Fixes #35474.

#3 @SergeyBiryukov
9 years ago

  • Component changed from General to Posts, Post Types
  • Description modified (diff)
Note: See TracTickets for help on using tickets.