[wp-trac] [WordPress Trac] #24756: Don't limit local autosave only to Posts

WordPress Trac noreply at wordpress.org
Mon Jul 22 05:13:55 UTC 2013


#24756: Don't limit local autosave only to Posts
--------------------------+-----------------------
 Reporter:  azaozz        |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.6
Component:  Autosave      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by nacin):

 [attachment:24756.2.diff] is [attachment:24756-8.patch] minus [24762].
 I've reviewed it and it looks good. Because there are so many moving bits
 here, we just need to make sure everything gets tested well.

 I think getLastSavedCompareString() is a great abstraction. I'm finding
 that its name implies it is getting the last saved string, not a string
 that will then be compared against whatever is saved. I think maybe just
 wp.autosave.getCompareString() is fine.

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


More information about the wp-trac mailing list