Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Field Leaves behind junk folders #475

Open
HostingPros opened this issue Oct 7, 2024 · 1 comment
Open

Media Field Leaves behind junk folders #475

HostingPros opened this issue Oct 7, 2024 · 1 comment

Comments

@HostingPros
Copy link

when using the latest version of jetform and making a form with a media field I use the dev plugin "attach media to post" that works correctly. if i delete the cpt post that has the media file in it the file attached deletes just fine as it should. however one huge problem i cannot figure out is why /wp-content/uploads/jet-form-builder/ "random folder id" this folder gets created with each user account who does a post with media and gets left behind there is no way to make it delete itself when you delete the cpt post this folder will get left empty with no images and just a blank index.html file in it. I have tried to even delete the users account but this folder still remains. on a large scale site over due time you will be stuck with over a million random folders and only a small portion of them even having any user or media files in them as users come and go from the site and delete accounts their old junk folder is left behind cluttering space on the server

@janmaartendewit
Copy link

I have exactly the same problem, media management within JetFormBuilder is very sloppy.
it would be nice if they improved this and also have the "attach media to post" as standard option when you are building the CPT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants