[wp-trac] [WordPress Trac] #25272: Refactor/clean up autosave and use heartbeat for transport

WordPress Trac noreply at wordpress.org
Mon Jan 27 00:27:44 UTC 2014


#25272: Refactor/clean up autosave and use heartbeat for transport
-------------------------+-----------------------
 Reporter:  azaozz       |       Owner:  azaozz
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  3.9
Component:  Autosave     |     Version:  3.8
 Severity:  normal       |  Resolution:
 Keywords:  early        |
-------------------------+-----------------------

Comment (by azaozz):

 In [changeset:"27038"]:
 {{{
 #!CommitTicketReference repository="" revision="27038"
 Autosave:
 - Move the 'Saving post' and 'Draft saved at...' strings from autosaveL10n
 to postL10n as they are used only there.
 - Use the custom jQuery events 'before-autosave' and 'after-autosave' to
 show these messages.
 - Separate autosave.suspend() for local and server so local autosaves can
 continue while server autosaves are suspended.
 - Remove the recently added autosave.server.disable() and use
 autosave.server.suspend() instead.
 - Bring back .button.disabled, button-primary.disabled and use .disabled
 to prevent multiple form submissions.
 See #25272.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25272#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list