Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#23898 closed defect (bug) (fixed)

Revisions: Can't restore the first post revision

Reported by: ocean90's profile ocean90 Owned by: markjaquith's profile 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 11 years ago.
fixes

Download all attachments as: .zip

Change History (4)

#1 @adamsilverstein
11 years ago

will correct!

@adamsilverstein
11 years ago

fixes

#2 @adamsilverstein
11 years 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

#3 @markjaquith
11 years 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.