WordPress.org

Make WordPress Core

#23898 closed defect (bug) (fixed)

Revisions: Can't restore the first post revision

Reported by: ocean90 Owned by: markjaquith
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Revisions Keywords: has-patch dev-feedback
Focuses: Cc:

Description

Steps to reproduce:

  • Create a new post with content
  • Save the post
  • Add some new content and save the post again
  • Go to the revsions page by clicking on the link in the revisions metabox

What I get: http://cl.ly/Nwil

What I want: A button to the restore the first post revision.

Attachments (1)

23898.diff (3.5 KB) - added by adamsilverstein 13 months ago.
fixes

Download all attachments as: .zip

Change History (4)

comment:1 adamsilverstein13 months ago

will correct!

adamsilverstein13 months ago

fixes

comment:2 adamsilverstein13 months ago

  • Keywords has-patch dev-feedback added; needs-patch removed

23898.diff​

  • corrects revision meta box list was removing oldest, not newest (now current) revision, clicking a single revision now takes you to that revision, current revision is not shown in list (but could be added)
  • create a new post, make a single update, click update in revisions list, links to correct revision
  • compare two mode available with two or more revisions
  • corrects issue where handles were off by one in compare two mode

comment:3 markjaquith13 months ago

  • Owner set to markjaquith
  • Resolution set to fixed
  • Status changed from new to closed

In 23872:

Make sure the first revision is seen as coming from emptiness, so it can be restored.

props adamsilverstein. fixes #23898.

Note: See TracTickets for help on using tickets.