Changeset 37914 for trunk/src/wp-admin/async-upload.php
- Timestamp:
- 06/29/2016 03:15:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/async-upload.php
r37488 r37914 46 46 47 47 if ( ! current_user_can( 'upload_files' ) ) { 48 wp_die( __( ' You do not have permissionto upload files.' ) );48 wp_die( __( 'Sorry, you are not allowed to upload files.' ) ); 49 49 } 50 50 … … 55 55 wp_die( __( 'Unknown post type.' ) ); 56 56 if ( ! current_user_can( 'edit_post', $id ) ) 57 wp_die( __( ' You are not allowed to edit this item.' ) );57 wp_die( __( 'Sorry, you are not allowed to edit this item.' ) ); 58 58 59 59 switch ( $_REQUEST['fetch'] ) {
Note: See TracChangeset
for help on using the changeset viewer.