Changeset 61403 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 12/22/2025 11:12:59 PM (8 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-query.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r61387 r61403 3020 3020 $clauses = (array) apply_filters_ref_array( 'posts_clauses', array( compact( $pieces ), &$this ) ); 3021 3021 3022 $where = isset( $clauses['where'] ) ? $clauses['where'] :'';3023 $groupby = isset( $clauses['groupby'] ) ? $clauses['groupby'] :'';3024 $join = isset( $clauses['join'] ) ? $clauses['join'] :'';3025 $orderby = isset( $clauses['orderby'] ) ? $clauses['orderby'] :'';3026 $distinct = isset( $clauses['distinct'] ) ? $clauses['distinct'] :'';3027 $fields = isset( $clauses['fields'] ) ? $clauses['fields'] :'';3028 $limits = isset( $clauses['limits'] ) ? $clauses['limits'] :'';3022 $where = $clauses['where'] ?? ''; 3023 $groupby = $clauses['groupby'] ?? ''; 3024 $join = $clauses['join'] ?? ''; 3025 $orderby = $clauses['orderby'] ?? ''; 3026 $distinct = $clauses['distinct'] ?? ''; 3027 $fields = $clauses['fields'] ?? ''; 3028 $limits = $clauses['limits'] ?? ''; 3029 3029 } 3030 3030 … … 3154 3154 $clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) ); 3155 3155 3156 $where = isset( $clauses['where'] ) ? $clauses['where'] :'';3157 $groupby = isset( $clauses['groupby'] ) ? $clauses['groupby'] :'';3158 $join = isset( $clauses['join'] ) ? $clauses['join'] :'';3159 $orderby = isset( $clauses['orderby'] ) ? $clauses['orderby'] :'';3160 $distinct = isset( $clauses['distinct'] ) ? $clauses['distinct'] :'';3161 $fields = isset( $clauses['fields'] ) ? $clauses['fields'] :'';3162 $limits = isset( $clauses['limits'] ) ? $clauses['limits'] :'';3156 $where = $clauses['where'] ?? ''; 3157 $groupby = $clauses['groupby'] ?? ''; 3158 $join = $clauses['join'] ?? ''; 3159 $orderby = $clauses['orderby'] ?? ''; 3160 $distinct = $clauses['distinct'] ?? ''; 3161 $fields = $clauses['fields'] ?? ''; 3162 $limits = $clauses['limits'] ?? ''; 3163 3163 } 3164 3164
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)