Changeset 34661 for trunk/src/wp-includes/comment-functions.php
- Timestamp:
- 09/28/2015 03:09:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-functions.php
r34660 r34661 880 880 'post_id' => $comment->comment_post_ID, 881 881 'fields' => 'ids', 882 'count' => true, 882 883 'status' => 'approve', 883 884 'date_query' => array( … … 889 890 ); 890 891 891 $ older_comment_ids = get_comments( $comment_args);892 $older_comment_count = count( $older_comment_ids );892 $comment_query = new WP_Comment_Query(); 893 $older_comment_count = $comment_query->query( $comment_args ); 893 894 894 895 // No older comments? Then it's page #1.
Note: See TracChangeset
for help on using the changeset viewer.