Changeset 54891 for trunk/src/wp-includes/comment.php
- Timestamp:
- 11/29/2022 03:49:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r54888 r54891 172 172 $parsed_args = wp_parse_args( $args, $defaults ); 173 173 174 $query = new WP_Comment_Query ;174 $query = new WP_Comment_Query(); 175 175 return $query->query( $parsed_args ); 176 176 } … … 241 241 */ 242 242 function get_comments( $args = '' ) { 243 $query = new WP_Comment_Query ;243 $query = new WP_Comment_Query(); 244 244 return $query->query( $args ); 245 245 } … … 1024 1024 1025 1025 if ( $threaded ) { 1026 $walker = new Walker_Comment ;1026 $walker = new Walker_Comment(); 1027 1027 $count = ceil( $walker->get_number_of_root_elements( $comments ) / $per_page ); 1028 1028 } else {
Note: See TracChangeset
for help on using the changeset viewer.