Cleaning up the post revisions with WP-CLI

Over the months, or years, that you use WordPress, the database starts to bloat with stuff that you don’t necessarily need. Post revisions are generated regularly and are not deleted unless you do it manually or you have added code to handle that automatically. The WordPress database does grow big if you let revisions accumulate. […]