Opened 10 years ago
Closed 9 years ago
#32818 closed enhancement (fixed)
Prompt before switching comments, leaving page, updating post whilst editing a comment in the edit post screen
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | has-patch needs-testing |
Focuses: | administration | Cc: |
Description
This was proposed here https://core.trac.wordpress.org/ticket/29457#comment:4 by @chriscct7.
- Edit any post or page that has at least one comment in the post editor.
- Make changes to the comment / add new comment
- Attempt to leave the page in the browser, update the post, or click quick edit on another comment.
- The changes are lost.
We need to prompt the user that their changes will be lost and handle the response.
Similar implementation that can possibly be leveraged - https://core.trac.wordpress.org/attachment/ticket/21845/21845.3.patch
Would need to build on the solution of https://core.trac.wordpress.org/ticket/29457#comment:4 when dealing with a user updating the post during a comment edit.
Attachments (3)
Change History (11)
Note: See
TracTickets for help on using
tickets.
Makes sense to me, moving to Future Release awaiting a patch.