diff --git a/includes/rest-api.php b/includes/rest-api.php index fe41a34b4..41dceed42 100644 --- a/includes/rest-api.php +++ b/includes/rest-api.php @@ -603,7 +603,7 @@ function check_post_types_permissions() { $caps = $type->cap; if ( current_user_can( $caps->edit_posts ) ) { - $response['can_post'][] = $type->name; + $response['can_get'][] = $type->name; } if ( current_user_can( $caps->edit_posts ) && current_user_can( $caps->create_posts ) && current_user_can( $caps->publish_posts ) ) {