Changeset 34074
- Timestamp:
- 09/12/2015 07:18:36 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/ajax-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r33933 r34074 1012 1012 1013 1013 if ( $parent && $parent->comment_approved === '0' && $parent->comment_post_ID == $comment_post_ID ) { 1014 if ( ! current_user_can( 'edit_comment', $parent->comment_ID ) ) { 1015 wp_die( -1 ); 1016 } 1017 1014 1018 if ( wp_set_comment_status( $parent->comment_ID, 'approve' ) ) 1015 1019 $comment_auto_approved = true;
Note: See TracChangeset
for help on using the changeset viewer.