Changeset 53376 for trunk/src/wp-includes/class-wp-comment-query.php
- Timestamp:
- 05/10/2022 11:19:51 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment-query.php
r53299 r53376 918 918 $where = implode( ' AND ', $this->sql_clauses['where'] ); 919 919 920 $ clauses = array( 'fields', 'join', 'where', 'orderby', 'limits', 'groupby' );920 $pieces = array( 'fields', 'join', 'where', 'orderby', 'limits', 'groupby' ); 921 921 922 922 /** … … 928 928 * @param WP_Comment_Query $query Current instance of WP_Comment_Query (passed by reference). 929 929 */ 930 $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $ clauses ), &$this ) );930 $clauses = apply_filters_ref_array( 'comments_clauses', array( compact( $pieces ), &$this ) ); 931 931 932 932 $fields = isset( $clauses['fields'] ) ? $clauses['fields'] : '';
Note: See TracChangeset
for help on using the changeset viewer.