Changeset 61105 for trunk/src/wp-includes/class-wp-comment-query.php
- Timestamp:
- 10/31/2025 06:55:47 PM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-comment-query.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r60697 r61105 537 537 * 538 538 * @since 4.4.0 539 * @since 6.9.0 Excludes the 'note' comment type, unless 'all' or the 'note' types are requested. 539 540 * 540 541 * @global wpdb $wpdb WordPress database abstraction object. … … 770 771 'NOT IN' => (array) $this->query_vars['type__not_in'], 771 772 ); 773 774 // Exclude the 'note' comment type, unless 'all' types or the 'note' type explicitly are requested. 775 if ( 776 ! in_array( 'all', $raw_types['IN'], true ) && 777 ! in_array( 'note', $raw_types['IN'], true ) && 778 ! in_array( 'note', $raw_types['NOT IN'], true ) 779 ) { 780 $raw_types['NOT IN'][] = 'note'; 781 } 772 782 773 783 $comment_types = array();
Note: See TracChangeset
for help on using the changeset viewer.