[wp-trac] [WordPress Trac] #52440: "Leave site? Changes you made may not be saved" on custom taxonomy pages after WP 5.6.1 update
WordPress Trac
noreply at wordpress.org
Fri Feb 5 16:27:21 UTC 2021
#52440: "Leave site? Changes you made may not be saved" on custom taxonomy pages
after WP 5.6.1 update
---------------------------------------+---------------------
Reporter: archon810 | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 5.6.2
Component: Editor | Version: 5.6.1
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses:
---------------------------------------+---------------------
Comment (by hwk-fr):
@viablethought I also get this, the prompt doesn't appear if I edit a the
content and leave the page quickly.
But it's inconsistent. It looks like the whole `autosave.js` script has
some issues to retrieve and compare the value in the `edit.isHidden()` and
`editor is.Dirty()` part. It looks like it needs some times to correctly
initialize. If the user change the content too quickly, the script doesn't
take it in account.
It only happens when editing only the content. When changing title or
excerpt it always work.
Here is a video showing this behavior:
[https://core.trac.wordpress.org/attachment/ticket/52440/2021-02-05_17h20_03.mp4]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52440#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list