Changeset 52978 for trunk/src/wp-admin/media.php
- Timestamp:
- 03/22/2022 04:23:32 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/media.php
r51475 r52978 66 66 67 67 if ( empty( $att->ID ) ) { 68 wp_die( __( 'You attempted to edit an attachment that does n’t exist. Perhaps it was deleted?' ) );68 wp_die( __( 'You attempted to edit an attachment that does not exist. Perhaps it was deleted?' ) ); 69 69 } 70 70 if ( 'attachment' !== $att->post_type ) { 71 wp_die( __( 'You attempted to edit an item that is n’t an attachment. Please go back and try again.' ) );71 wp_die( __( 'You attempted to edit an item that is not an attachment. Please go back and try again.' ) ); 72 72 } 73 73 if ( 'trash' === $att->post_status ) { 74 wp_die( __( 'You can ’t edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) );74 wp_die( __( 'You cannot edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) ); 75 75 } 76 76
Note: See TracChangeset
for help on using the changeset viewer.