Every Flavour Beans

“The time has come…to talk of many [technologies].” –Lewis Carroll(’The Walrus and the Carpenter’)
Development Tools. Web Frameworks. GNU/Linux. Nokia N800. Video Encoding.

August 19, 2008

How Wordpress 2.6 ‘Post Revisions’ Retrieved My Unsaved Post Updates

Filed under: General, Wordpress — tabrez @ 3:24 pm

The feature announced to be included in the next version of Wordpress that had excited me the most was the Post Revisioning feature that was set for the Wordpress 2.6 release. After having used 2.6 version for so many days, I finally had a taste of its usefulness today. (Even though I didn’t get to use it much until now, the peace of mind that you get to carry while editing the posts makes the feature worth every effort put in by the Wordpress development team).

I did nothing strange on this occasion: while editing and saving and editing and saving and… a draft post, I opened another related, older post in a new browser tab and made a few changes to that post too. Just forgot to save it! I don’t remember when I had closed that tab as my focus was on my current draft post. When I opened the older post again after sometime, Wordpress displayed a notice informing me that there is a newer auto-saved version of the post available:

Wordpress 2.6 warns about autosaved version of a post and allows restoring it through its new Post Revisions feature.

Auto-saving posts/drafts is old news. But near the bottom of the page, I could see the complete history of my edits, the relevant date and time information included:

Wordpress 2.6 warns about autosaved version of a post and allows restoring it through its new Post Revisions feature.

Clicking on “View the autosave” link(see the first screenshot above) took me to the automatically saved version of the page. Scrolling down the page took me to “Post Revisions” section where I could select the versions that I want to compare:

Wordpress 2.6 warns about autosaved version of a post and allows restoring it through its new Post Revisions feature.

And finally, I was able to view the two versions side-by-side to see the difference between the two versions visually(click the image to see the larger version):

Wordpress 2.6 warns about autosaved version of a post and allows restoring it through its new Post Revisions feature.

(Bonus: What happens if you compare the same versions of a post? Wordpress 2.6 Easteregg!)

A click of a button switched the post to the autosave version(because that’s what I had wanted):

Wordpress 2.6 warns about autosaved version of a post and allows restoring it through its new Post Revisions feature.

And the post was restored:

Wordpress 2.6 warns about autosaved version of a post and allows restoring it through its new Post Revisions feature.

(I didn’t have to worry a lot when restoring because I can always go back to the earlier version because all the revisions are still there.)

Nothing that I didn’t know already but actually going through the process and being able to save those few edits that would have been lost into thin air(or difficult to restore) in earlier versions of Wordpress was quite a bit of fun. The whole experience was seamless and tension-free.

Just sharing the excitement ;)


If you want to receive future posts by email, enter your email address here:

Related Posts:

  • My First Wordpress 2.3 Update Notification and Subversion Upgrade
  • Wordpress Upgrading Experience With Automatic Upgrade Plugin
  • Upgrading to Wordpress 2.3 with Zero Downtime!
  • What is New in Wordpress 2.3 (Beta 1/2)?
  • Why I Moved My Blog From Wordpress.com
  • Wordpress Plugin and Theme Cheatsheets
  • How I Upgraded to Wordpress 2.3 on Live Blog With Zero Downtime

  • Readers who viewed this page, also viewed:


    No Comments »

    No comments yet.

    RSS feed for comments on this post. TrackBack URI

    Leave a comment

    Subscribe without commenting


    Copyright (c) 2006, 2007 Tabrez Iqbal.
    Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved. A copy of the license is included in the section entitled "GNU Free Documentation License".


    Powered by WordPress
    This website is hosted by Dreamhost