Changeset 37914 for trunk/src/wp-admin/media.php
- Timestamp:
- 06/29/2016 03:15:40 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/media.php
r36887 r37914 21 21 22 22 if ( !current_user_can('edit_post', $attachment_id) ) 23 wp_die ( __(' You are not allowed to edit this attachment.') );23 wp_die ( __('Sorry, you are not allowed to edit this attachment.') ); 24 24 25 25 $errors = media_upload_form_handler(); … … 55 55 56 56 if ( !current_user_can('edit_post', $att_id) ) 57 wp_die ( __(' You are not allowed to edit this attachment.') );57 wp_die ( __('Sorry, you are not allowed to edit this attachment.') ); 58 58 59 59 $att = get_post($att_id);
Note: See TracChangeset
for help on using the changeset viewer.