WordPress.org

Ready to get started?Download WordPress

Forums

WP Clean Up
NextGen Gallery data is lost after Draft clean up (2 posts)

  1. Dmitry Shved
    Member
    Posted 4 months ago #

    Be careful to use this plugin with NextGen Gallery. While deleting Draft data ALL records from wp_posts table are deteted that have post_status='draft' value.
    The issue is that NextGen Gallery plugin stores own data in 'draft' records with post_type values like 'ngg_album', 'ngg_gallery', 'ngg_pictures'... After they are deleted you see just messages 'Gallery not found. Please check your settings' on your site.
    Possibly it make sense to delete only those draft records that have post_type values 'page' and 'post'.
    Another proposal - on the Admin page to add a note on top like 'Please make a back up copy of your database before using this plugin'. In my case it would help a lot :)...

    https://wordpress.org/plugins/wp-clean-up/

  2. ZinZangStudio
    Member
    Posted 3 months ago #

    Thanks for the explanation as to why the galleries disappeared!

    I agree with your proposals.

Reply

You must log in to post.

About this Plugin

About this Topic