[wp-trac] [WordPress Trac] #37025: Improve the "disaster recovery" mode

WordPress Trac noreply at wordpress.org
Thu Jun 9 21:53:31 UTC 2016


#37025: Improve the "disaster recovery" mode
-------------------------------------+-----------------------
 Reporter:  azaozz                   |       Owner:  azaozz
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.6
Component:  Autosave                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by azaozz):

 How to test this (on a test install):
 - Start a new post.
 - Type something.
 - Save a draft.
 - Type something more.
 - Wait for about 10 seconds for the in-browser autosave to kick in. It
 runs every 15 seconds.
 - Reload the page.

 Couple of seconds after the page loads the "The backup of this post in
 your browser is different from the version below." notice should show.
 (The couple of seconds delay is needed to make sure the post content is
 fully loaded in TinyMCE so we can compare it to the content in
 sessionStorage. This reduces false positives a lot).

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


More information about the wp-trac mailing list