- Timestamp:
- 11/29/2022 03:49:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r53772 r54891 275 275 $prepared_args = apply_filters( 'rest_comment_query', $prepared_args, $request ); 276 276 277 $query = new WP_Comment_Query ;277 $query = new WP_Comment_Query(); 278 278 $query_result = $query->query( $prepared_args ); 279 279 … … 296 296 unset( $prepared_args['number'], $prepared_args['offset'] ); 297 297 298 $query = new WP_Comment_Query ;298 $query = new WP_Comment_Query(); 299 299 $prepared_args['count'] = true; 300 300
Note: See TracChangeset
for help on using the changeset viewer.