[wp-trac] [WordPress Trac] #61447: Immediate post Update revision is not available for restoring

WordPress Trac noreply at wordpress.org
Sat Jun 15 16:50:27 UTC 2024


#61447: Immediate post Update revision is not available for restoring
-------------------------------+------------------------------
 Reporter:  lwoods             |       Owner:  adamsilverstein
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  6.5.4
 Severity:  normal             |  Resolution:
 Keywords:  changes-requested  |     Focuses:  performance
-------------------------------+------------------------------
Changes (by adamsilverstein):

 * owner:  (none) => adamsilverstein
 * status:  new => assigned


Comment:

 Hi @lwoods - thanks for the ticket.

 I tried to give this a test. When I land on the revisions screen, the
 changes being shown are for __the current post__. That's why I can't
 "restore" it - it is already the same as the current post. Going "back"
 one revision and restoring, the post is brought back to the last updated
 state.

 Is this not the behavior you were expecting?

 Maybe I have missed a step in your instructions, to be clear here is what
 I did:
 1. create a new post and publish it.
 2. add some test "my first change" and update
 3. add more test "another change" and update
 4. go to revisions - the first revision shows the changes in the current
 state, namely the addition of the "another change" text.
 5. go to the previous revision and click restore.
 6. the post is now at the state I saved it in at step 2. the "another
 change" text has been removed.

 One possible point of confusion: the revision screen shows what was added
 and removed in each revision (not the current state of the revision).

 Let me know if I missed something, otherwise I would say this is working
 as expected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61447#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list