Closed PatelUtkarsh closed 7 years ago
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.
delete_post
nav_menus_created_posts
@PatelUtkarsh your patch is now committed to trunk: https://core.trac.wordpress.org/changeset/40676
I will start working on PR to fix this issue.
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) fornav_menus_created_posts
's posts before deleting.