It works for me. The only problem I see is that the script only deletes 500 record per click. I only had about 4000 of them so it wasn’t to big of a problem. Thanks.
It should reload itself after deleting those 500 records via JavaScript, and delete 500 more until there are zero records that needs to be consolidated; you should not need to click the button again.
Your server has safe mode on, otherwise it would set the execution time to unlimited while the script is running and delete all of them with one click.
Ok Derek, seems to work, I continue testing this afternoon and give you my feedback tonight or tomorrow.
The cleanup button delete 1000 by 1000 but I had to click 🙁
John
Did you wait a few seconds for the page to finish and reload? There is a 3 second delay after each set of 500 gets deleted.
No reload Derek 🙁 Don’t worry it cost me only 25 click -P
I had the if statement wrong. It was set to what I was using to test safe_mode. I’ve switched it back on that branch and should now delete all of them without reloading or clicking again when your server is not in safe_mode. Other changes will likely be made today as people are testing it on Github, as well. I’ll push this to the public tonight.
Cheers,
Derek
Derek,
seems to work correctly, after 3 hours of tests.
Tx for fix 😉
To everyone else watching this ticket who didn’t test the 2.4.6-beta. The new stable 2.4.6 version is upgradable via the wp-admin panel. You should instantly see a change in the speed of the admin panel once upgraded to 2.4.6, if you were effected by this bug.
Sorry for the troubles guys!
Cheers,
Derek