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

WordPress Trac noreply at wordpress.org
Tue Feb 11 21:18:37 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        |     Focuses:
-------------------------+-----------------------

Comment (by azaozz):

 > What was the canonical way in 3.8 to say "whoa there, don't run
 autosave"?

 Core used `autosave = function(){};` mostly because jquery.schedule.js
 can't cancel existing schedule properly, it runs one more time. Some
 plugins picked that up too. Don't see any `blockSave = true` when
 searching the github mirror.

 Speaking of jquery.schedule.js, it's not used anywhere in core any more.
 We need a way to deprecate scripts.

 > `.button-disabled` and `.button-primary-disabled` classes were removed
 from JS...

 Thinking they are needed for back-compat.

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


More information about the wp-trac mailing list