iaccidentally deleted some of my content then published it. Now my layout is all messed up . but cant find the revisions option on new update ( WordPress 4.9.5.)
-
Can you share more information? Have you check revisions in db? How did you publish content that it endup in deletion of revisions? This actions (publishing post) usually not ends as revision delete (only in case if you had a limited number of them).– Oleg ButuzovCommented Apr 22, 2018 at 18:07
1 Answer
I think that revisions are disabled by default in the latest WP (but can't guarantee that).
I do know that if you want to enable revisions, then change an value in the wp-config.php file:
define( 'WP_POST_REVISIONS', 3 );
That will save the last 3 revisions. Turn if off with a value of 0 or false. Save unlimited revisions with a value of -1. See https://codex.wordpress.org/Revisions
Once revisions are enabled, you should be able to show revisions with the 'Screen' options on the post/page editor screen.