]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/media.php
WordPress 4.7.2
[autoinstalls/wordpress.git] / wp-admin / media.php
index 5f13d3ad163714ffbf58078293e2c29d90036881..3fbb9265d5b2a31526d78fa58dbfa76b3876785d 100644 (file)
@@ -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(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
-       '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media" target="_blank">Documentation on Edit Media</a>') . '</p>' .
-       '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
+       '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media">Documentation on Edit Media</a>') . '</p>' .
+       '<p>' . __('<a href="https://wordpress.org/support/">Support Forums</a>') . '</p>'
        );
 
        require( ABSPATH . 'wp-admin/admin-header.php' );