mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Comments: Keep comments safe in the Edit Post screen.
Warns users that have added a new Comment or began editing an existing without saving their changes, before they press the “update” button which would wipe out their comment changes. Fixes #32818. Props polevaultweb. git-svn-id: https://develop.svn.wordpress.org/trunk@37303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -495,6 +495,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
'replyApprove' => __( 'Approve and Reply' ),
|
||||
'reply' => __( 'Reply' ),
|
||||
'warnQuickEdit' => __( "Are you sure you want to edit this comment?\nThe changes you made will be lost." ),
|
||||
'warnCommentChanges' => __( "Are you sure you want to do this?\nThe comment changes you made will be lost." ),
|
||||
'docTitleComments' => __( 'Comments' ),
|
||||
/* translators: %s: comments count */
|
||||
'docTitleCommentsCount' => __( 'Comments (%s)' ),
|
||||
|
||||
Reference in New Issue
Block a user