Changeset 48312 for trunk/src/wp-admin/edit.php
- Timestamp:
- 07/05/2020 10:38:24 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/edit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit.php
r47855 r48312 118 118 119 119 if ( ! wp_trash_post( $post_id ) ) { 120 wp_die( __( 'Error in moving t o Trash.' ) );120 wp_die( __( 'Error in moving the item to Trash.' ) ); 121 121 } 122 122 … … 141 141 142 142 if ( ! wp_untrash_post( $post_id ) ) { 143 wp_die( __( 'Error in restoring from Trash.' ) );143 wp_die( __( 'Error in restoring the item from Trash.' ) ); 144 144 } 145 145 … … 159 159 if ( 'attachment' === $post_del->post_type ) { 160 160 if ( ! wp_delete_attachment( $post_id ) ) { 161 wp_die( __( 'Error in deleting .' ) );161 wp_die( __( 'Error in deleting the attachment.' ) ); 162 162 } 163 163 } else { 164 164 if ( ! wp_delete_post( $post_id ) ) { 165 wp_die( __( 'Error in deleting .' ) );165 wp_die( __( 'Error in deleting the item.' ) ); 166 166 } 167 167 }
Note: See TracChangeset
for help on using the changeset viewer.