X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7f1521bf193b382565eb753043c161f4cb3fcda7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/media.php?ds=inline diff --git a/wp-admin/media.php b/wp-admin/media.php index 62b2401b..88fa51ed 100644 --- a/wp-admin/media.php +++ b/wp-admin/media.php @@ -20,7 +20,7 @@ case 'editattachment' : check_admin_referer('media-form'); if ( !current_user_can('edit_post', $attachment_id) ) - wp_die ( __('You are not allowed to edit this attachment.') ); + wp_die ( __('Sorry, you are not allowed to edit this attachment.') ); $errors = media_upload_form_handler(); @@ -54,7 +54,7 @@ case 'edit' : $att_id = (int) $_GET['attachment_id']; if ( !current_user_can('edit_post', $att_id) ) - wp_die ( __('You are not allowed to edit this attachment.') ); + wp_die ( __('Sorry, you are not allowed to edit this attachment.') ); $att = get_post($att_id); @@ -92,7 +92,7 @@ case 'edit' : if ( isset($_GET['message']) ) { switch ( $_GET['message'] ) { case 'updated' : - $message = __('Media attachment updated.'); + $message = __('Media file updated.'); $class = 'updated'; break; } @@ -103,13 +103,13 @@ case 'edit' : ?>
-

+

- + -

+