Hi — this plugin looks to be the most thorough and careful of the media cleanup plugins I’ve looked at. But I don’t see anyway to bulk process (to either restore or delete) the trashed images, even though there are checkboxes that would indicate you should be able to do so. Am I missing something? Many thanks in advance.
Ok actually the button is there, it just doesn’t display when you switch tabs. When switching from Unused to Trash, the trashed files load correctly, but the toolbar still shows Trash All Unused. Restore Selected, Delete Permanently, and Empty Trash are missing.
Steps to reproduce:
Open Oli Media Cleaner on the Unused tab.
Click the Trash tab.
Check the toolbar above the file list.
Expected: The toolbar shows the Trash actions immediately.
Workaround: Refreshing the page while on the Trash tab displays the correct buttons.
Thanks for the follow-up and the clear repro steps — you were right.
The Trash actions were only rendered when the page first loaded on that tab. Switching from Unused to Trash via AJAX loaded the files, but left Trash All Unused in the toolbar and never showed Restore Selected, Delete Permanently, or Empty Trash. A refresh on Trash worked because that request built the correct buttons from scratch.
This is fixed in 1.5.2. The toolbar now keeps every bulk action in the page and shows the right set as soon as you change tabs.
Please update to 1.5.2 and try Unused → Trash again. You should see the Trash actions immediately, with no refresh.