Changeset 22869 for trunk/wp-admin/includes/ajax-actions.php
- Timestamp:
- 11/27/2012 03:50:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r22847 r22869 1844 1844 wp_send_json_error(); 1845 1845 1846 check_ajax_referer( ' save-attachment', 'nonce' );1846 check_ajax_referer( 'update-post_' . $id, 'nonce' ); 1847 1847 1848 1848 if ( ! current_user_can( 'edit_post', $id ) ) … … 1890 1890 $attachment_data = $_REQUEST['attachments'][ $id ]; 1891 1891 1892 check_ajax_referer( ' save-attachment', 'nonce' );1892 check_ajax_referer( 'update-post_' . $id, 'nonce' ); 1893 1893 1894 1894 if ( ! current_user_can( 'edit_post', $id ) )
Note: See TracChangeset
for help on using the changeset viewer.