Changeset 52974 for trunk/src/wp-includes/class-wp-network-query.php
- Timestamp:
- 03/21/2022 12:20:22 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-network-query.php
r52973 r52974 439 439 $groupby = ''; 440 440 441 $ pieces = array( 'fields', 'join', 'where', 'orderby', 'limits', 'groupby' );441 $clauses = compact( 'fields', 'join', 'where', 'orderby', 'limits', 'groupby' ); 442 442 443 443 /** … … 446 446 * @since 4.6.0 447 447 * 448 * @param string[] $ pieces An associative array of network query clauses.449 * @param WP_Network_Query $query Current instance of WP_Network_Query (passed by reference).448 * @param string[] $clauses An associative array of network query clauses. 449 * @param WP_Network_Query $query Current instance of WP_Network_Query (passed by reference). 450 450 */ 451 $clauses = apply_filters_ref_array( 'networks_clauses', array( compact( $pieces ), &$this ) );451 $clauses = apply_filters_ref_array( 'networks_clauses', array( $clauses, &$this ) ); 452 452 453 453 $fields = isset( $clauses['fields'] ) ? $clauses['fields'] : '';
Note: See TracChangeset
for help on using the changeset viewer.