[wp-trac] [WordPress Trac] #32273: TinyMCE results in lost data if post save fails and back button is clicked
WordPress Trac
noreply at wordpress.org
Wed May 6 22:54:08 UTC 2015
#32273: TinyMCE results in lost data if post save fails and back button is clicked
--------------------------+------------------------------
Reporter: archon810 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.2.1
Severity: normal | Resolution:
Keywords: | Focuses: javascript
--------------------------+------------------------------
Comment (by archon810):
We actually tried to change this otherwise ideal behavior to return
admin_notices instead, thus saving the revision instead of wp_die()ing,
and forcing a draft status if you're trying to publish, but ran into a
deal-breaking limitation.
If an update is done to an already published post, there's no way to use
the above functionality because either:
a) the post will get unpublished (BAD) or
b) the update is allowed to go through, which means even though there may
be an admin_notices message, it may go unnoticed, and an update that
failed validation may be live for some time.
Any suggestions?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32273#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list