Changeset 48312 for trunk/src/wp-admin/post.php
- Timestamp:
- 07/05/2020 10:38:24 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post.php
r47855 r48312 259 259 260 260 if ( ! wp_trash_post( $post_id ) ) { 261 wp_die( __( 'Error in moving t o Trash.' ) );261 wp_die( __( 'Error in moving the item to Trash.' ) ); 262 262 } 263 263 … … 289 289 290 290 if ( ! wp_untrash_post( $post_id ) ) { 291 wp_die( __( 'Error in restoring from Trash.' ) );291 wp_die( __( 'Error in restoring the item from Trash.' ) ); 292 292 } 293 293 … … 313 313 $force = ( ! MEDIA_TRASH ); 314 314 if ( ! wp_delete_attachment( $post_id, $force ) ) { 315 wp_die( __( 'Error in deleting .' ) );315 wp_die( __( 'Error in deleting the attachment.' ) ); 316 316 } 317 317 } else { 318 318 if ( ! wp_delete_post( $post_id, true ) ) { 319 wp_die( __( 'Error in deleting .' ) );319 wp_die( __( 'Error in deleting the item.' ) ); 320 320 } 321 321 }
Note: See TracChangeset
for help on using the changeset viewer.