Changeset 29492
- Timestamp:
- 08/14/2014 07:07:06 PM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r29491 r29492 5874 5874 selection = this.controller.state().get( 'selection' ), 5875 5875 library = this.controller.state().get( 'library' ); 5876 5877 if ( ! selection.length ) { 5878 return; 5879 } 5880 5881 if ( ! media.view.settings.mediaTrash && ! confirm( l10n.warnBulkDelete ) ) { 5882 return; 5883 } 5884 5885 if ( media.view.settings.mediaTrash 5886 && 'trash' !== selection.at( 0 ).get( 'status' ) 5887 && ! confirm( l10n.warnBulkTrash ) ) { 5888 return; 5889 } 5876 5890 5877 5891 while ( selection.length > 0 ) { -
trunk/src/wp-includes/media.php
r29490 r29492 2937 2937 'warnDelete' => __( "You are about to permanently delete this item.\n 'Cancel' to stop, 'OK' to delete." ), 2938 2938 'warnBulkDelete' => __( "You are about to permanently delete these items.\n 'Cancel' to stop, 'OK' to delete." ), 2939 'warnBulkTrash' => __( "You are about to trash these items.\n 'Cancel' to stop, 'OK' to delete." ), 2939 2940 'bulkSelect' => __( 'Bulk Select' ), 2940 2941 'cancelSelection' => __( 'Cancel Selection' ),
Note: See TracChangeset
for help on using the changeset viewer.