WordPress.org

Forums

Optimize Database after Deleting Revisions
[resolved] rvg_delete_orphans code question (auto-draft) (2 posts)

  1. kitchin
    Member
    Posted 1 year ago #

    Reading the code, I wonder why rvg_delete_orphans() deletes auto-drafts *unless* the auto-draft has postmeta data ?

    Is the meta used when restoring an auto-draft?

    I searched a few WP databases for auto-drafts with postmeta data and found only one distinct meta_key, added by a plugin (WordPress SEO by Yoast).

    Also, what about categories, do those need to be handled? I posted some code here about revision deletion and categories, and also custom taxonomies: http://wordpress.org/support/topic/deleting-post-revisions-do-not-use-the-abc-join-code-you-see-everywhere

    Thanks.

    http://wordpress.org/plugins/rvg-optimize-database/

  2. cageehv
    Member
    Plugin Author

    Posted 1 year ago #

    Closed...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Optimize Database after Deleting Revisions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.