Changeset 37799 for branches/4.2/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 06/21/2016 02:43:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/src/wp-admin/includes/ajax-actions.php
r34152 r37799 2604 2604 wp_send_json_error(); 2605 2605 2606 if ( ! current_user_can( ' read_post', $post->ID ) )2606 if ( ! current_user_can( 'edit_post', $post->ID ) ) 2607 2607 wp_send_json_error(); 2608 2608
Note: See TracChangeset
for help on using the changeset viewer.