Changeset 24207 for trunk/wp-admin/upload.php
- Timestamp:
- 05/08/2013 09:27:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload.php
r23567 r24207 100 100 101 101 if ( !wp_trash_post( $post_id ) ) 102 wp_die( __( 'Error in moving to trash. ..' ) );102 wp_die( __( 'Error in moving to trash.' ) ); 103 103 } 104 104 $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location ); … … 112 112 113 113 if ( !wp_untrash_post( $post_id ) ) 114 wp_die( __( 'Error in restoring from trash. ..' ) );114 wp_die( __( 'Error in restoring from trash.' ) ); 115 115 } 116 116 $location = add_query_arg( 'untrashed', count( $post_ids ), $location ); … … 124 124 125 125 if ( !wp_delete_attachment( $post_id_del ) ) 126 wp_die( __( 'Error in deleting. ..' ) );126 wp_die( __( 'Error in deleting.' ) ); 127 127 } 128 128 $location = add_query_arg( 'deleted', count( $post_ids ), $location );
Note: See TracChangeset
for help on using the changeset viewer.