WordPress.org

Ready to get started?Download WordPress

Forums

Post delete should also delete attached images (2 posts)

  1. Kaushik
    Member
    Posted 3 years ago #

    If we delete one post, the images attached to it aren't deleted with post deletion. We have to go to Media menu, find images which aren't attached to any post and remove them from there. But many users doesn't know this and their images remain back in their media folder and it consumes extra space on their hosting server.

    So, can we get this as a feature that when a post is permanently deleted, the attached images will also be deleted? Or, if this is not possible, at least show a warning/alert about how many orphaned images are there in wp-content/uploads folder?

  2. So, can we get this as a feature that when a post is permanently deleted, the attached images will also be deleted

    Probably not, since you may be using the images elsewhere.

    You CAN look at your unattached images in the media folder, though, and clean 'em up there.

Topic Closed

This topic has been closed to new replies.

About this Topic