WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#35474 closed enhancement (fixed)

Introduced the `$post` parameter in get_the_excerpt

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

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 4 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
4 years ago

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

#2 @swissspidy
4 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
4 years ago

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