Make WordPress Core

Ticket #39712: 39712.3.patch

File 39712.3.patch, 2.1 KB (added by joemcgill, 7 years ago)
  • src/wp-includes/media.php

    diff --git src/wp-includes/media.php src/wp-includes/media.php
    index 65cf4c7aae..75d74a4c7d 100644
    function wp_enqueue_media( $args = array() ) { 
    34953495                'unattached'             => __( 'Unattached' ),
    34963496                'trash'                  => _x( 'Trash', 'noun' ),
    34973497                'uploadedToThisPost'     => $post_type_object->labels->uploaded_to_this_item,
    3498                 'warnDelete'             => __( "You are about to permanently delete this item.\nThis will remove it from your site.\n 'Cancel' to stop, 'OK' to delete." ),
    3499                 'warnBulkDelete'         => __( "You are about to permanently delete these items.\nThis will remove them from your site.\n 'Cancel' to stop, 'OK' to delete." ),
     3498                'warnDelete'             => __( "You are about to permanently delete this item from your site.\nThis cannot be undone.\n 'Cancel' to stop, 'OK' to delete." ),
     3499                'warnBulkDelete'         => __( "You are about to permanently delete these items from your site.\nThis cannot be undone.\n 'Cancel' to stop, 'OK' to delete." ),
    35003500                'warnBulkTrash'          => __( "You are about to trash these items.\n  'Cancel' to stop, 'OK' to delete." ),
    35013501                'bulkSelect'             => __( 'Bulk Select' ),
    35023502                'cancelSelection'        => __( 'Cancel Selection' ),
  • src/wp-includes/script-loader.php

    diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
    index 43209721f5..96ec2f354f 100644
    function wp_default_scripts( &$scripts ) { 
    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.\nThis will remove them from your site.\n 'Cancel' to stop, 'OK' to delete." ),
     80                'warnDelete'   => __( "You are about to permanently delete this item from your site.\nThis cannot be undone.\n 'Cancel' to stop, 'OK' to delete." ),
    8181                'dismiss'      => __( 'Dismiss this notice.' ),
    8282                'collapseMenu' => __( 'Collapse Main menu' ),
    8383                'expandMenu'   => __( 'Expand Main menu' ),