Changeset 21504 for trunk/wp-admin/includes/ajax-actions.php
- Timestamp:
- 08/14/2012 06:39:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r21413 r21504 1728 1728 $post_type = $_POST['post_type']; 1729 1729 1730 check_ajax_referer('update- ' . $post_type . '_' . $post_id, '_wpnonce');1730 check_ajax_referer('update-post_' . $post_id, '_wpnonce'); 1731 1731 1732 1732 $post_id = edit_post(); … … 1770 1770 wp_die( 0 ); 1771 1771 1772 check_ajax_referer( 'update- ' . $post->post_type . '_' . $post_id );1772 check_ajax_referer( 'update-post_' . $post_id ); 1773 1773 1774 1774 if ( ! current_user_can( 'edit_post', $post_id ) )
Note: See TracChangeset
for help on using the changeset viewer.