Changeset 42876 for trunk/src/wp-includes/class-wp-term-query.php
- Timestamp:
- 03/25/2018 07:32:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-term-query.php
r42343 r42876 239 239 * @since 4.4.0 240 240 * 241 * @param array $defaults An array of default get_terms() arguments.242 * @param array $taxonomies An array of taxonomies.241 * @param array $defaults An array of default get_terms() arguments. 242 * @param string[] $taxonomies An array of taxonomy names. 243 243 */ 244 244 $this->query_var_defaults = apply_filters( 'get_terms_defaults', $this->query_var_defaults, $taxonomies ); … … 352 352 * @since 3.1.0 353 353 * 354 * @param array $args An array of get_terms() arguments.355 * @param array $taxonomies An array of taxonomies.354 * @param array $args An array of get_terms() arguments. 355 * @param string[] $taxonomies An array of taxonomy names. 356 356 */ 357 357 $args = apply_filters( 'get_terms_args', $args, $taxonomies ); … … 464 464 * @since 2.3.0 465 465 * 466 * @param string $exclusions `NOT IN` clause of the terms query.467 * @param array $args An array of terms query arguments.468 * @param array $taxonomies An array of taxonomies.466 * @param string $exclusions `NOT IN` clause of the terms query. 467 * @param array $args An array of terms query arguments. 468 * @param string[] $taxonomies An array of taxonomy names. 469 469 */ 470 470 $exclusions = apply_filters( 'list_terms_exclusions', $exclusions, $args, $taxonomies ); … … 628 628 * @since 2.8.0 629 629 * 630 * @param array$selects An array of fields to select for the terms query.631 * @param array $args An array of term query arguments.632 * @param array $taxonomies An array of taxonomies.630 * @param string[] $selects An array of fields to select for the terms query. 631 * @param array $args An array of term query arguments. 632 * @param string[] $taxonomies An array of taxonomy names. 633 633 */ 634 634 $fields = implode( ', ', apply_filters( 'get_terms_fields', $selects, $args, $taxonomies ) ); … … 647 647 * @since 3.1.0 648 648 * 649 * @param array $pieces Termsquery SQL clauses.650 * @param array $taxonomies An array of taxonomies.651 * @param array $args An array of termsquery arguments.649 * @param string[] $pieces Array of query SQL clauses. 650 * @param string[] $taxonomies An array of taxonomy names. 651 * @param array $args An array of term query arguments. 652 652 */ 653 653 $clauses = apply_filters( 'terms_clauses', compact( 'fields', 'join', 'where', 'distinct', 'orderby', 'order', 'limits' ), $taxonomies, $args ); … … 860 860 * @since 2.8.0 861 861 * 862 * @param string $orderby `ORDERBY` clause of the terms query.863 * @param array $args An array of termsquery arguments.864 * @param array $taxonomies An array of taxonomies.862 * @param string $orderby `ORDERBY` clause of the terms query. 863 * @param array $args An array of term query arguments. 864 * @param string[] $taxonomies An array of taxonomy names. 865 865 */ 866 866 $orderby = apply_filters( 'get_terms_orderby', $orderby, $this->query_vars, $this->query_vars['taxonomy'] );
Note: See TracChangeset
for help on using the changeset viewer.