[wp-trac] [WordPress Trac] #32818: Prompt before switching comments, leaving page, updating post whilst editing a comment in the edit post screen

WordPress Trac noreply at wordpress.org
Sun Jun 28 14:59:58 UTC 2015


#32818: Prompt before switching comments, leaving page, updating post whilst
editing a comment in the edit post screen
--------------------------+-----------------------------
 Reporter:  polevaultweb  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This was proposed here
 https://core.trac.wordpress.org/ticket/29457#comment:4 by @chriscct7.

 1. Edit any post or page that has at least one comment in the post editor.
 1. Make changes to the comment / add new comment
 1. Attempt to leave the page in the browser, update the post, or click
 quick edit on another comment.
 1. 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32818>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list