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. Built from https://develop.svn.wordpress.org/trunk@37303 git-svn-id: http://core.svn.wordpress.org/trunk@37269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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)' ),
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-alpha-37302';
|
||||
$wp_version = '4.6-alpha-37303';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user