0

WordPress with 3.9 version has refactored autosave feature #25272.

Is it still possible somehow to trigger autosave manually with JavaScript ?

Recently we could use autosave() function which is currently mocked with:

window.autosave = function(){};
2

1 Answer 1

1

Reading through the changelog of the ticket, it looks like they're still making their mind up about keeping the old function

window.autosave = function(){};

in the code for backwards compatibility. So many plugins currently use it that it would break so many websites with the update.

A patch was put in place but has not been added to the master [#25272.6.patch][1]

Best idea would be to ask within the ticket and hope that the backwards compatibility is kept in place until there is a surefire way documented.

Not the answer you're looking for? Browse other questions tagged or ask your own question.