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

Check nav menu post reference before garbage collect #133

Closed
PatelUtkarsh opened this issue Apr 17, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@PatelUtkarsh
Copy link
Collaborator

commented Apr 17, 2017

Check WP trac ticket: https://core.trac.wordpress.org/ticket/39715

Override core's delete_post filter PR https://github.com/xwp/wordpress-develop/pull/224/files
And check for other references(In case of fork/merge snapshot) for nav_menus_created_posts's posts before deleting.

@westonruter

This comment has been minimized.

Copy link
Contributor

commented May 16, 2017

@PatelUtkarsh your patch is now committed to trunk: https://core.trac.wordpress.org/changeset/40676

@PatelUtkarsh

This comment has been minimized.

Copy link
Collaborator Author

commented May 16, 2017

I will start working on PR to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.