classifai
classifai copied to clipboard
Image generation > Recently generated image are not getting deleted from Select or Upload Media pop-up window
Describe the bug
Image generation > Recently generated image are not getting deleted from Select or Upload Media pop-up window
Steps to Reproduce
- Make sure the Image Generation feature is enabled in the ClassifAI plugin
- Add/edit any post > Add image block
- Click on media library > Click on the image generate tab
- Generate an image for any prompt
- Click on import and insert button
- Select or Upload Media pop-up window open
- Now try to delete the image by clicking on the delete permanently button.
- RHS attachment details are getting deleted but not the image
- Observe
Screenshots, screen recording, code snippet
https://prnt.sc/FdG6jjXFvUGQ
Environment information
Local
WordPress information
WordPress 6.4.2, PHP 8.1.23
Code of Conduct
- [X] I agree to follow this project's Code of Conduct