Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

fix: pass the missing $post param to the get_the_excerpt filter #1082

Merged
merged 1 commit into from
Sep 18, 2022

Conversation

dkoo
Copy link
Contributor

@dkoo dkoo commented Sep 27, 2021

Fixes a bug which results in a fatal error due to a missing argument passed to the get_the_excerpt filter hook.

Fixes https://github.com/Automattic/facebook-instant-articles-wp/issues/1063.

@dkoo dkoo marked this pull request as ready for review September 27, 2021 21:36
@GaryJones GaryJones added this to the 4.3.0 milestone Sep 18, 2022
Copy link
Contributor

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GaryJones GaryJones merged commit b9ff0c2 into master Sep 18, 2022
@GaryJones GaryJones deleted the fix/excerpt-filter-fatal branch September 18, 2022 12:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Too few arguments provided to get_the_excerpt hook
2 participants