Changeset 53379 for branches/6.0/src/wp-includes/class-wp-query.php
- Timestamp:
- 05/10/2022 04:07:10 PM (3 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
- Property svn:mergeinfo changed
/trunk merged: 53370,53375
- Property svn:mergeinfo changed
-
branches/6.0/src/wp-includes/class-wp-query.php
r53277 r53379 2755 2755 } 2756 2756 2757 $ clauses = array( 'where', 'groupby', 'join', 'orderby', 'distinct', 'fields', 'limits' );2757 $pieces = array( 'where', 'groupby', 'join', 'orderby', 'distinct', 'fields', 'limits' ); 2758 2758 2759 2759 /* … … 2857 2857 * @param WP_Query $query The WP_Query instance (passed by reference). 2858 2858 */ 2859 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $ clauses ), &$this ) );2859 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $pieces ), &$this ) ); 2860 2860 2861 2861 $where = isset( $clauses['where'] ) ? $clauses['where'] : ''; … … 2991 2991 * @param WP_Query $query The WP_Query instance (passed by reference). 2992 2992 */ 2993 $clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( $clauses, &$this ) );2993 $clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) ); 2994 2994 2995 2995 $where = isset( $clauses['where'] ) ? $clauses['where'] : '';
Note: See TracChangeset
for help on using the changeset viewer.