Elementor: Feature Request: Bulk delete revisions, based on conditions

Created on 8 Feb 2019  路  3Comments  路  Source: elementor/elementor

  • [X] I have searched for similar features requests in both open and closed tickets and cannot find a duplicate.
  • [X] The feature is still missing in the latest stable version of Elementor ( Elementor Pro. )

What problem is your feature request going to solve? Please describe.

Recently I had a problem with my page never saving. I always got '500' server errors every time I pressed 'UPDATE'. The size of the page being saved was the issue. My server memory limit was being hit. My page was not long and the content normal. However I accumulated at least 100 revision states over many days. After manually deleting 20-or-so older revision states, one by one, the '500' errors never occurred.

Basically getting rid of revision states made my page smaller, so it never hit my server memory limit when attempt saving. This concept was never communicated to me, and I discovered it by accident.

Describe the solution you'd like
At the top of History / Revisions, there should be some kind of control that allows one to delete all revision states older than X. Currently you can only delete revision states manually, one-by-one, with multiple clicks, by pressing 'X' on each, and going through a prompt.

Instead there should be one link at the top that allows you to bulk delete revisions based on conditions. For example, "Delete revisions older than 2 days". Or the deletion could be by number... like "Delete all revision states except for the last 30 items".

Going further, there should be a global revisions control... "Delete ALL revisions". This should clear up a ton of space in a database.

In any case, this whole concept of revision management could be better communicated to the user. I only came upon it by accident, even after research.

Most helpful comment

Thanks, I can do those things... but for non-techie users, they'd need better UI (a shortcut) or better UX (a message that indicates what to do), especially if the idea is for Elementor to be a better product, which is ultimately the point of the feature request.

All 3 comments

@TheMangoTrain

Elementor uses the native WP revisions system, which means you can either disable it or limit its to your needs:

  • Disabling Post Revisions
define( 'WP_POST_REVISIONS', false );
  • Limiting Post Revisions
define( 'WP_POST_REVISIONS', 3 )

Other than that, you delete revisions either via a 3rd party plugin or a simple sql query:

DELETE FROM wp_posts WHERE post_type = "revision";

thanks.

Thanks, I can do those things... but for non-techie users, they'd need better UI (a shortcut) or better UX (a message that indicates what to do), especially if the idea is for Elementor to be a better product, which is ultimately the point of the feature request.

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tudormnt picture tudormnt  路  3Comments

rahulv3a picture rahulv3a  路  3Comments

joelbqz picture joelbqz  路  3Comments

parfilov picture parfilov  路  3Comments

ghost picture ghost  路  3Comments