Commit ec0740ef61 for wordpress.org

commit ec0740ef61f24677b47ad05007926cb6146bc0bf
Author: wildworks <wildworks@git.wordpress.org>
Date:   Mon Jan 26 08:27:35 2026 +0000

    Comments: Explicitly exclude note comment type on the comments table.

    Fix an issue where adding `comment_type=all` as a query parameter to the `wp-admin/edit-comments.php` page would unexpectedly cause notes to show.

    Follow-up to [61183].

    Props adamsilverstein, jorbin, mukesh27, ozgursar, Presskopp, r1k0, rollybueno, soyebsalar01, westonruter, wildworks.
    Fixes #64474.
    Built from https://develop.svn.wordpress.org/trunk@61525


    git-svn-id: http://core.svn.wordpress.org/trunk@60836 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php
index c1a0803bc6..78d6215376 100644
--- a/wp-admin/includes/class-wp-comments-list-table.php
+++ b/wp-admin/includes/class-wp-comments-list-table.php
@@ -155,6 +155,7 @@ class WP_Comments_List_Table extends WP_List_Table {
 			'number'                    => $number,
 			'post_id'                   => $post_id,
 			'type'                      => $comment_type,
+			'type__not_in'              => array( 'note' ),
 			'orderby'                   => $orderby,
 			'order'                     => $order,
 			'post_type'                 => $post_type,
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 9d40427e68..7420f13cc1 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.0-alpha-61524';
+$wp_version = '7.0-alpha-61525';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.