Changeset 37576
- Timestamp:
- 05/26/2016 02:55:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r37573 r37576 1207 1207 $terms = $term_query->query( $args ); 1208 1208 1209 $taxonomies = isset( $args['taxonomy'] ) ? (array) $args['taxonomy'] : null;1210 1211 1209 /** 1212 1210 * Filters the found terms. … … 1220 1218 * @param WP_Term_Query $term_query The WP_Term_Query object. 1221 1219 */ 1222 return apply_filters( 'get_terms', $terms, $t axonomies, $args);1220 return apply_filters( 'get_terms', $terms, $term_query->query_vars['taxonomy'], $term_query->query_vars, $term_query ); 1223 1221 } 1224 1222
Note: See TracChangeset
for help on using the changeset viewer.