WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. kitchin
    Member
    Posted 11 months 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 9 months ago #

    Closed...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.