Changeset 49108 for trunk/src/wp-includes/class-wp-comment-query.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r48990 r49108 457 457 if ( $this->query_vars['count'] ) { 458 458 // $comment_ids is actually a count in this case. 459 return intval( $comment_ids );459 return (int) $comment_ids; 460 460 } 461 461 … … 943 943 944 944 if ( $this->query_vars['count'] ) { 945 return intval( $wpdb->get_var( $this->request ));945 return (int) $wpdb->get_var( $this->request ); 946 946 } else { 947 947 $comment_ids = $wpdb->get_col( $this->request );
Note: See TracChangeset
for help on using the changeset viewer.