Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sending publish event with Yoast SEO activated #107

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

dinhtungdu
Copy link
Contributor

Description of the Change

When Yoast SEO is activated, there is an extra update request after inserting the post to the database, which causes Sophi to always sends update events instead of publish for new articles.

This PR fixes that issue by caching the action between requests to send the correct event to the Sophi server.

Changelog Entry

Fixed: Sending publish events when Yoast SEO is activated.

@dinhtungdu dinhtungdu requested a review from dkotter July 14, 2021 05:24
@dinhtungdu dinhtungdu self-assigned this Jul 14, 2021
@jeffpaul jeffpaul added this to the 1.0.4 milestone Jul 14, 2021
@dinhtungdu dinhtungdu merged commit 7e1bd8b into develop Jul 15, 2021
@dinhtungdu dinhtungdu deleted the fix/yoast-seo-publish-event branch July 15, 2021 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants