Make WordPress Core

Ticket #39712: 39712.2.patch

File 39712.2.patch, 2.0 KB (added by gma992, 7 years ago)

Message rephrased for different item types.

  • src/wp-includes/media.php

     
    34343434                'unattached'             => __( 'Unattached' ),
    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' ),
    34413441                'cancelSelection'        => __( 'Cancel Selection' ),
  • src/wp-includes/script-loader.php

     
    7777
    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' ),
    8383                'expandMenu'   => __( 'Expand Main menu' ),