Changeset 48312 for trunk/src/wp-admin/upload.php
- Timestamp:
- 07/05/2020 10:38:24 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/upload.php
r47808 r48312 157 157 158 158 if ( ! wp_trash_post( $post_id ) ) { 159 wp_die( __( 'Error in moving t o Trash.' ) );159 wp_die( __( 'Error in moving the item to Trash.' ) ); 160 160 } 161 161 } … … 178 178 179 179 if ( ! wp_untrash_post( $post_id ) ) { 180 wp_die( __( 'Error in restoring from Trash.' ) );180 wp_die( __( 'Error in restoring the item from Trash.' ) ); 181 181 } 182 182 } … … 193 193 194 194 if ( ! wp_delete_attachment( $post_id_del ) ) { 195 wp_die( __( 'Error in deleting .' ) );195 wp_die( __( 'Error in deleting the attachment.' ) ); 196 196 } 197 197 }
Note: See TracChangeset
for help on using the changeset viewer.