Changeset 53175 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 04/14/2022 12:02:31 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r53065 r53175 2754 2754 } 2755 2755 2756 $clauses = compact( 'where', 'groupby', 'join', 'orderby', 'distinct', 'fields', 'limits' );2756 $clauses = array( 'where', 'groupby', 'join', 'orderby', 'distinct', 'fields', 'limits' ); 2757 2757 2758 2758 /* … … 2856 2856 * @param WP_Query $query The WP_Query instance (passed by reference). 2857 2857 */ 2858 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( $clauses, &$this ) );2858 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $clauses ), &$this ) ); 2859 2859 2860 2860 $where = isset( $clauses['where'] ) ? $clauses['where'] : '';
Note: See TracChangeset
for help on using the changeset viewer.