[wp-trac] [WordPress Trac] #24447: Avoid losing data after nonces expire
WordPress Trac
noreply at wordpress.org
Fri Jul 24 00:45:56 UTC 2015
#24447: Avoid losing data after nonces expire
----------------------------+------------------
Reporter: azaozz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+------------------
Comment (by krogsgard):
The exact issue that @iseulde notes is what happened to me. I was writing
a post, and I guess I stopped for a long time (hours to maybe a day) and
came back to it and started writing again. When I attempted to save, I got
the "are you sure" page, and freaked out.
The link on that wanted me to go to `post-new.php` iirc, which scared me
and I didn't know how to get back. Eventually, I went to edit posts and
then the post editor, and the post had reverted to the previous saved
version, which lost about 2,000 words. I downloaded the database and
attempted to check Chrome cache and there was no sign.
Oddly enough, the next day, when I was pasting in from an outside editor
(having learned my lesson now), when I attempted to save this time it
prompted me that I had a newer version than the one showing, and tada, it
was back. But I know it was not an actual version bc I had downloaded the
whole db to check. @iseulde tells me it was probably in the session
storage, not chrome cache (which is what I checked).
The whole situation was very scary and what I really wish was if, instead
of the "are you sure" page there was a different style of notification
that doesn't make you leave the current page. I think that's how it's
supposed to work but apparently there are some edge cases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24447#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list