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

Set publish_post event on shutdown. #6546

Closed
wants to merge 1 commit into from

Conversation

enejb
Copy link
Member

@enejb enejb commented Mar 2, 2017

Fixes: Automattic/io#19

Some plugins call wp_insert_post from within insert post.
Adding the publish events on shutdown avoids this.

How to test:
Publishing a post containing an embedded recipe using the WP Recipe Maker plugin replicates the scenario pointed above.

@enejb enejb requested a review from lezama March 2, 2017 00:32
@enejb enejb self-assigned this Mar 2, 2017
@enejb enejb added [Feature] Publicize Now Jetpack Social, auto-sharing [Package] Sync labels Mar 2, 2017
@enejb
Copy link
Member Author

enejb commented Mar 2, 2017

The new updated version of #6542 is much better!

@enejb enejb closed this Mar 2, 2017
@jeherve jeherve deleted the update/jetpack-publish_post_login-on-shutdown branch March 2, 2017 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Publicize Now Jetpack Social, auto-sharing [Package] Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant