Changeset 30356 for trunk/src/wp-admin/media-upload.php
- Timestamp:
- 11/16/2014 06:15:29 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/media-upload.php
r29206 r30356 33 33 // Require an ID for the edit screen. 34 34 if ( isset($action) && $action == 'edit' && !$ID ) 35 wp_die( __( 'Cheatin’ uh?' ) );35 wp_die( __( 'Cheatin’ uh?' ), 403 ); 36 36 37 37 if ( ! empty( $_REQUEST['post_id'] ) && ! current_user_can( 'edit_post' , $_REQUEST['post_id'] ) ) 38 wp_die( __( 'Cheatin’ uh?' ) );38 wp_die( __( 'Cheatin’ uh?' ), 403 ); 39 39 40 40 // Upload type: image, video, file, ..?
Note: See TracChangeset
for help on using the changeset viewer.