[Resolved] CRED Auto Draft images not being deleted from the Media Library

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will answer your ticket in about 2.52 hours from now. Thank you for your understanding.

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  lindsayH 2 days, 8 hours ago. The support staff assigned to this topic is Christian Cox.

Viewing 5 posts - 1 through 5 (of 5 total)
Author
Posts
#578113

Here Waqas mentions that "CRED deletes all auto drafts created, if they're not used within 4 hours after creation. That means, the unattended or leftover media files will automatically be deleted from your system."
https://wp-types.com/forums/topic/cred-upload-save-file-befor-submit/#post-463202

That doesn't appear to be happening. Please see screen shot.

#578282

Christian Cox
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/New_York (GMT-04:00)

Hi Lindsay, I'm checking on this and will get back to you shortly.

#578350

Christian Cox
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/New_York (GMT-04:00)

Okay after a test I can confirm the behavior you're describing - uploaded media items are not deleted after 4 hours, when the form is not submitted. I've asked my 2nd tier support team to clarify the expectations here. It's possible that Waqas was given the wrong information, or it's possible that there's a bug. I'll let you know what I find out.

#578767

Christian Cox
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/New_York (GMT-04:00)

After some discussion with 2nd tier support and our lead developer, it appears that Waqas had the wrong information here. While CRED Auto Draft posts are deleted after 4 hours, we do not automatically remove attachments that were added to those draft posts. The reason is that programmatically, we have no way of knowing whether those images have been used elsewhere on the site. So for now, the images will remain in the Media Library indefinitely. I will update that other ticket to include more accurate information.

#580007

OK, thanks for the extra explanation and updated information.

Viewing 5 posts - 1 through 5 (of 5 total)

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.