Changeset 45723 for trunk/src/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 08/03/2019 03:34:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r45599 r45723 1558 1558 if ( is_taxonomy_hierarchical( $taxonomy ) ) { 1559 1559 $tax_term_names = get_terms( 1560 $taxonomy,1561 1560 array( 1561 'taxonomy' => $taxonomy, 1562 1562 'fields' => 'names', 1563 1563 'hide_empty' => false, … … 2391 2391 } 2392 2392 2393 $query = array( );2393 $query = array( 'taxonomy' => $taxonomy->name ); 2394 2394 2395 2395 if ( isset( $filter['number'] ) ) { … … 2419 2419 } 2420 2420 2421 $terms = get_terms( $ taxonomy->name, $query );2421 $terms = get_terms( $query ); 2422 2422 2423 2423 if ( is_wp_error( $terms ) ) {
Note: See TracChangeset
for help on using the changeset viewer.