X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/784f914b1e4b1c62d6657e86397c2e83bcee4295..e3ff8f35458a959c1879c0a4976701ed8dcfe651:/wp-admin/media.php diff --git a/wp-admin/media.php b/wp-admin/media.php index 5f13d3ad..3fbb9265 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); @@ -80,8 +80,8 @@ case 'edit' : get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . - '

' . __('Documentation on Edit Media') . '

' . - '

' . __('Support Forums') . '

' + '

' . __('Documentation on Edit Media') . '

' . + '

' . __('Support Forums') . '

' ); require( ABSPATH . 'wp-admin/admin-header.php' );