WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Uploaded Files Cleaner
[resolved] Files used in WP 'featured image' get deleted (4 posts)

  1. flammobammo
    Member
    Posted 2 years ago #

    This plugin will mark any file used as a header, as per the 'featured image' feature of WordPress, as unused, if there isn't actually a link from the post itself. There is not warning that the plugin will removed the featured images. Is there any way to avoid this?

    http://wordpress.org/extend/plugins/wordpress-uploaded-files-cleaner/

  2. chris57100
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,
    The plugin searches in pages and posts for links to the files. I will update the plugin to search relation in the database.
    Were you able to restore files from the saved folder ?

  3. flammobammo
    Member
    Posted 2 years ago #

    Chris, that would be awesome if you did update it, I don't think there is any other plugin available that would do this.
    I hadn't ran the script, I was careful to check what it was going to do before executing ;)

  4. chris57100
    Member
    Plugin Author

    Posted 2 years ago #

    Added in version 1.1. Please tell me if it works on your system.
    Thank you for your help

    PS: even if you run the script files are not deleted but only moved in one subfolder of uploads using the same structure than the WP uploads so it's really easy to restore files

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic