Make WordPress Core


Ignore:
Timestamp:
01/26/2026 08:26:37 AM (8 months ago)
Author:
wildworks
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r61521 r61525  
    156156                        'post_id'                   => $post_id,
    157157                        'type'                      => $comment_type,
     158                        'type__not_in'              => array( 'note' ),
    158159                        'orderby'                   => $orderby,
    159160                        'order'                     => $order,
Note: See TracChangeset for help on using the changeset viewer.