- Timestamp:
- 05/23/2020 03:22:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r47597 r47850 1775 1775 1776 1776 if ( post_password_required( $post ) ) { 1777 $result = current_user_can( $post_type->cap->edit_post, $post->ID );1777 $result = current_user_can( 'edit_post', $post->ID ); 1778 1778 } else { 1779 1779 $result = $posts_controller->check_read_permission( $post );
Note: See TracChangeset
for help on using the changeset viewer.