• When I remove a duplicate or Remove All the plugin does not remove the media attached to the post. This creates an orphan media file. How do we fix this?

Viewing 1 replies (of 1 total)
  • Plugin Author Stephen Cronin

    (@stephencronin)

    Hi Progresst,

    Sorry for the delay in getting back to you.

    Unfortunately this plugin does not remove the media attached to the deleted post. The plugin uses WordPress’ built in function to delete posts*, but while this will remove comments and other things, it does not remove media.

    If you go into WordPress and add a new post with a newly uploaded image, then delete that post through the normal Trash option, you’ll see the image is not deleted either.

    *Note the Remove All option works differently, but it will not remove media either.

    Your best option is to find a plugin that will delete unattached images. From a quick Google search it seems there is one called Media Cleaner which does this. It does have some bad reviews, but also it has 8000 installs so must be working for some people. Please note: I have not used that plugin and am not endorsing it, you should do your own testing on whether that works or not and you should definitely make a backup of the database and all your attachments before using it.

    Hope that helps.

    Cheers,
    Stephen

Viewing 1 replies (of 1 total)
  • The topic ‘Does not delete media’ is closed to new replies.