WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Deleting a post with a picture leaves the picture in Media (5 posts)

  1. douglerner
    Member
    Posted 2 years ago #

    I notice that when I delete a post with a picture that the picture remains in the library as "unattached."

    Is that normal?

    Is there a way to have such pictures automatically deleted?

    I don't think I will be deleting posts very often, but was just wondering.

    Thanks,

    doug

  2. Ravi
    Member
    Posted 2 years ago #

    You can find unattached images at

    /wp-admin/upload.php?detached=1

    You can select them all and delete permanently through the bulk actions drop down.

  3. douglerner
    Member
    Posted 2 years ago #

    Hi, Ravi.

    I did notice that, but I have other unattached images as well, such as the header image and email notifications image used in Subscribe2.

    I could probably manually manage them one-by-one though.

    Thanks,

    doug

  4. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Yes, you can remove them if want.

  5. douglerner
    Member
    Posted 2 years ago #

    Thanks, everybody. I guess there is no setting to "remove attachments when removing a post" then. I'll mark this resolved.

    doug

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags