Changeset 47218 for trunk/src/wp-admin/media.php
- Timestamp:
- 02/09/2020 04:51:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/media.php
r47198 r47218 70 70 wp_die( __( 'You attempted to edit an item that isn’t an attachment. Please go back and try again.' ) ); 71 71 } 72 if ( $att->post_status == 'trash') {72 if ( 'trash' == $att->post_status ) { 73 73 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 74 }
Note: See TracChangeset
for help on using the changeset viewer.