Changeset 41270
- Timestamp:
- 08/19/2017 01:29:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r41198 r41270 3220 3220 3221 3221 check_ajax_referer( 'image_editor-' . $attachment_id, 'nonce' ); 3222 if ( ! current_user_can( 'customize') ) {3222 if ( empty( $attachment_id ) || ! current_user_can( 'edit_post', $attachment_id ) ) { 3223 3223 wp_send_json_error(); 3224 3224 }
Note: See TracChangeset
for help on using the changeset viewer.