Changeset 61337 for branches/6.9/src/wp-includes/comment.php
- Timestamp:
- 12/01/2025 03:42:24 PM (3 months ago)
- Location:
- branches/6.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.9
-
branches/6.9/src/wp-includes/comment.php
r61274 r61337 2873 2873 2874 2874 if ( is_null( $new ) ) { 2875 $new = (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved = '1' ", $post_id ) );2875 $new = (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_approved = '1' AND comment_type != 'note'", $post_id ) ); 2876 2876 } else { 2877 2877 $new = (int) $new;
Note: See TracChangeset
for help on using the changeset viewer.