WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/12/2017 12:49:14 PM (3 years ago)
Author:
joemcgill
Message:

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

This is a follow up on [40283], which cleans up the wording.

Props azaozz, swissspidy, ocean90.
Fixes #39712.

File:
1 edited

Legend:

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

    r40628 r40650  
    34983498        'trash'                  => _x( 'Trash', 'noun' ),
    34993499        'uploadedToThisPost'     => $post_type_object->labels->uploaded_to_this_item,
    3500         'warnDelete'             => __( "You are about to permanently delete this item.\nThis will remove it from your site.\n 'Cancel' to stop, 'OK' to delete." ),
    3501         'warnBulkDelete'         => __( "You are about to permanently delete these items.\nThis will remove them from your site.\n 'Cancel' to stop, 'OK' to delete." ),
     3500        'warnDelete'             => __( "You are about to permanently delete this item from your site.\nThis action cannot be undone.\n 'Cancel' to stop, 'OK' to delete." ),
     3501        'warnBulkDelete'         => __( "You are about to permanently delete these items from your site.\nThis action cannot be undone.\n 'Cancel' to stop, 'OK' to delete." ),
    35023502        'warnBulkTrash'          => __( "You are about to trash these items.\n  'Cancel' to stop, 'OK' to delete." ),
    35033503        'bulkSelect'             => __( 'Bulk Select' ),
     
    37463746                $srcs = array();
    37473747
    3748                 $shortcode_attrs = shortcode_parse_atts( $shortcode[3] ); 
     3748                $shortcode_attrs = shortcode_parse_atts( $shortcode[3] );
    37493749                if ( ! is_array( $shortcode_attrs ) ) {
    37503750                    $shortcode_attrs = array();
Note: See TracChangeset for help on using the changeset viewer.