Ticket #20003: 20003.diff
File 20003.diff, 573 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/ajax-actions.php
1530 1530 } 1531 1531 1532 1532 function wp_ajax_set_post_thumbnail() { 1533 global $post_ID; 1533 1534 $post_ID = intval( $_POST['post_id'] ); 1534 1535 if ( !current_user_can( 'edit_post', $post_ID ) ) 1535 1536 wp_die( -1 ); … … 1643 1644 1644 1645 update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $dismissed ); 1645 1646 wp_die( 1 ); 1646 } 1647 No newline at end of file 1647 }