In fact, whether your power goes out, your browser crashes, or you lose your internet connection, when you go back to edit that post, WP will toss up a warning telling you that it has a backup of your post and a link to restore the backup. Autosaves are stored as a special type of revision they do not overwrite the actual post. In multi-user settings, one autosave is stored for each user.Īutosaves are enabled for all posts and pages but do not overwrite published content. This means that no, your tables do not grow by one row every 60 seconds. There is only ever a maximum of one autosave per user for any given post. To return to the post edit screen without restoring a revision, click on the post title at the top of the page. Note: the ‘Restore This Revision’ button always restores the revision you are comparing to. Drag the handles to see what has changed between any two specific revisions. In this mode, the slider has two handles, one representing the revision you are comparing from and one representing the revision you are comparing to. The revisions page also includes a ‘compare any two revisions’ mode that allows you to compare any two individual revisions. Click the ‘Restore This Revision’ button to restore a revision. Lines added or removed are highlighted, and individual character changes get additional highlighting. The display indicates what has changed in each revision – what was added, what remained unchanged, and what was removed. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). Please see WordPress Codex for more information.The WordPress revisions system stores a record of each saved draft or published update. Therefore, it might cause unexprected result. This constant disables or limits the number of revisions. Please make sure you either not define WP_POST_REVISIONS or set it to a proper value in wp-config.php. Notes īecause WordPress supports revision for posts and custom post types only, the extension doesn't work for term meta, user meta or settings pages. So your post will have the correct values of custom fields like it used to be. MB Revision will copy values of the custom fields from the revision to the parent post. In order to restore a revision, lick on the Restore this revision button on the comparison screen. ![]() If you find out that the current version of the post is incorrect, you can compare it with the previous version and optionally restore it. Please note that the extension works well with Meta Box Group extension. Using JSON allows you to see the values of each element in the array as well as the structure in general. If the custom field has structural value (array), it will display here as a JSON-encoded string. If the custom field has simple value (like a string), it will display fully here. There you'll see highlighted lines or words, which are added or removed by users. There you'll see something like this:Įxcept title and content, which are post fields, other items on this screen are custom fields created by Meta Box. ![]() ![]() You can see the list of revisions in the Revisions meta box below the main editor:Īlso, in the Publish meta box, you'll see a link to browse all revisions:Ĭlicking either on any revision in the list or on Browse link brings you to the revision comparison screen. When you update a post, WordPress automatically creates a revision for that post. And MB Revision ensures all the values of the custom fields are copied from the parent post to that revision. Now whenever you update a post, WordPress will create a revision for it.
0 Comments
Leave a Reply. |