Open HostingPros opened 1 month ago
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.
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