Make WordPress Core

Changeset 40283


Ignore:
Timestamp:
03/11/2017 07:32:08 PM (8 years ago)
Author:
azaozz
Message:

Improve wording of the AYS warning when permanently deleting uploads, tags, posts.

Props dllh, gma992.
Fixes #39712 for trunk.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r40070 r40283  
    34353435        'trash'                  => _x( 'Trash', 'noun' ),
    34363436        'uploadedToThisPost'     => $post_type_object->labels->uploaded_to_this_item,
    3437         'warnDelete'             => __( "You are about to permanently delete this item.\n  'Cancel' to stop, 'OK' to delete." ),
    3438         'warnBulkDelete'         => __( "You are about to permanently delete these items.\n  'Cancel' to stop, 'OK' to delete." ),
     3437        'warnDelete'             => __( "You are about to permanently delete this item.\nThis will remove it from your site.\n 'Cancel' to stop, 'OK' to delete." ),
     3438        'warnBulkDelete'         => __( "You are about to permanently delete these items.\nThis will remove them from your site.\n 'Cancel' to stop, 'OK' to delete." ),
    34393439        'warnBulkTrash'          => __( "You are about to trash these items.\n  'Cancel' to stop, 'OK' to delete." ),
    34403440        'bulkSelect'             => __( 'Bulk Select' ),
  • trunk/src/wp-includes/script-loader.php

    r40035 r40283  
    7878    $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), false, 1 );
    7979    did_action( 'init' ) && $scripts->localize( 'common', 'commonL10n', array(
    80         'warnDelete'   => __( "You are about to permanently delete these items.\n  'Cancel' to stop, 'OK' to delete." ),
     80        'warnDelete'   => __( "You are about to permanently delete these items.\nThis will remove them from your site.\n 'Cancel' to stop, 'OK' to delete." ),
    8181        'dismiss'      => __( 'Dismiss this notice.' ),
    8282        'collapseMenu' => __( 'Collapse Main menu' ),
Note: See TracChangeset for help on using the changeset viewer.