[wp-trac] [WordPress Trac] #23665: Create one autosave per user
WordPress Trac
noreply at wordpress.org
Mon Jul 8 21:42:46 UTC 2013
#23665: Create one autosave per user
-------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Autosave | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Comment (by azaozz):
Generally autosave needs a refresh/refactoring. WP_Ajax_Response and
wpAjax.parseAjaxResponse() pass errors coming from WP_Error when saving a
post. For autosave these used to be displayed under the editor. That was
removed/hidden couple of years ago. As far as I remember the reason was
that these are intermittent "dead-end" errors and the user cannot do
anything to fix them. These errors used to be somewhat more common when we
had negative post_id (before auto-draft was implemented).
Currently if there is error when saving the post, the message "Saving
Draft..." that is shown while waiting for the autosave response, is not
updated. Although this is not a regression it probably should be fixed.
Instead of the "Draft saved at..." message we could show the actual error
or perhaps just "Autosave error".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23665#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list