[wp-trac] [WordPress Trac] #23220: Extend autosave to use the browser's local storage in addition to saving to the server

WordPress Trac noreply at wordpress.org
Sat Feb 2 21:40:30 UTC 2013


#23220: Extend autosave to use the browser's local storage in addition to saving to
the server
----------------------------+------------------
 Reporter:  azaozz          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.6
Component:  Autosave        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  autosave-redo   |
----------------------------+------------------

Comment (by asannad):

 Modified atosave-v3.patch attached.

 1. Changed data structure to save data as
         localstorage['wp_autosave_'.blogi_id => array( 'post_id' => array(
         1=> data1,
         2=> data2,
         till count 5)
 );

 2. Not deleting data in either autosave or post update. Will check for
 post data save time on page load and remove it if its stale for more than
 12 hours.

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


More information about the wp-trac mailing list