--- a/wp/wp-admin/media.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-admin/media.php Tue Sep 27 16:37:53 2022 +0200
@@ -45,6 +45,7 @@
// No break.
case 'edit':
+ // Used in the HTML title tag.
$title = __( 'Edit Media' );
if ( empty( $errors ) ) {
@@ -64,13 +65,13 @@
$att = get_post( $att_id );
if ( empty( $att->ID ) ) {
- wp_die( __( 'You attempted to edit an attachment that doesn’t exist. Perhaps it was deleted?' ) );
+ wp_die( __( 'You attempted to edit an attachment that does not exist. Perhaps it was deleted?' ) );
}
if ( 'attachment' !== $att->post_type ) {
- wp_die( __( 'You attempted to edit an item that isn’t an attachment. Please go back and try again.' ) );
+ wp_die( __( 'You attempted to edit an item that is not an attachment. Please go back and try again.' ) );
}
if ( 'trash' === $att->post_status ) {
- wp_die( __( 'You can’t edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) );
+ wp_die( __( 'You cannot edit this attachment because it is in the Trash. Please move it out of the Trash and try again.' ) );
}
add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 );