Make WordPress Core


Ignore:
Timestamp:
04/22/2016 09:42:38 PM (9 years ago)
Author:
rachelbaker
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r37201 r37303  
    496496            'reply' => __( 'Reply' ),
    497497            'warnQuickEdit' => __( "Are you sure you want to edit this comment?\nThe changes you made will be lost." ),
     498            'warnCommentChanges' => __( "Are you sure you want to do this?\nThe comment changes you made will be lost." ),
    498499            'docTitleComments' => __( 'Comments' ),
    499500            /* translators: %s: comments count */
Note: See TracChangeset for help on using the changeset viewer.