[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 05:32:52 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  |
---------------------------------------------------+-----------------------
Changes (by nacin):

 * keywords:  has-patch needs-testing autosave-redo commit => has-patch
     needs-testing autosave-redo


Comment:

 [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.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/7392#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list