[wp-trac] [WordPress Trac] #7392: Don't create new autosave revision if nothing has changed yet
WordPress Trac
noreply at wordpress.org
Sat Jul 27 06:31:13 UTC 2013
#7392: Don't create new autosave revision if nothing has changed yet
---------------------------------------------------+-----------------------
Reporter: Otto42 | Owner: westi
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.6
Component: Autosave | Version: 2.6
Severity: minor | Resolution:
Keywords: has-patch needs-testing autosave-redo |
---------------------------------------------------+-----------------------
Comment (by nacin):
Replying to [comment:40 nacin]:
> [attachment:7392.5.diff] regresses [24787]. Also confirmed by
aaroncampbell.
>
> For whatever reason, on initialization, autosaveLast is getting assigned
paragraph tags. I don't know why, but it does. And [24787] fixes it. I
don't know why, but it does. Once autosave fires, autosaveLast is re-
populated and it is no longer assigned paragraph tags, so subsequent
autosave checks bail for lack of content changes.
So... Upon further review, this isn't entirely right. aaroncampbell,
markjaquith, and I are sometimes getting autosaveLast with paragraph tags,
and sometimes without. We're all reproducing it at vastly different
frequencies. (Meanwhile, duck_ still can't reproduce it.) All on Chrome
(same version, some Linux, some Mac), also reproduced in Safari to some
extent. (Not reproduced in Firefox at all.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7392#comment:42>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list