Changeset 42649 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 02/05/2018 04:09:27 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r42343 r42649 2148 2148 $name_matches = get_terms( 2149 2149 $taxonomy, array( 2150 'name' => $name, 2151 'hide_empty' => false, 2152 'parent' => $args['parent'], 2150 'name' => $name, 2151 'hide_empty' => false, 2152 'parent' => $args['parent'], 2153 'update_term_meta_cache' => false, 2153 2154 ) 2154 2155 ); … … 2174 2175 $siblings = get_terms( 2175 2176 $taxonomy, array( 2176 'get' => 'all', 2177 'parent' => $parent, 2177 'get' => 'all', 2178 'parent' => $parent, 2179 'update_term_meta_cache' => false, 2178 2180 ) 2179 2181 ); … … 2365 2367 $old_tt_ids = wp_get_object_terms( 2366 2368 $object_id, $taxonomy, array( 2367 'fields' => 'tt_ids', 2368 'orderby' => 'none', 2369 'fields' => 'tt_ids', 2370 'orderby' => 'none', 2371 'update_term_meta_cache' => false, 2369 2372 ) 2370 2373 ); … … 2455 2458 $values = array(); 2456 2459 $term_order = 0; 2457 $final_tt_ids = wp_get_object_terms( $object_id, $taxonomy, array( 'fields' => 'tt_ids' ) ); 2460 $final_tt_ids = wp_get_object_terms( 2461 $object_id, 2462 $taxonomy, 2463 array( 2464 'fields' => 'tt_ids', 2465 'update_term_meta_cache' => false, 2466 ) 2467 ); 2458 2468 foreach ( $tt_ids as $tt_id ) { 2459 2469 if ( in_array( $tt_id, $final_tt_ids ) ) { … … 3383 3393 $terms = get_terms( 3384 3394 $taxonomy, array( 3385 'get' => 'all', 3386 'orderby' => 'id', 3387 'fields' => 'id=>parent', 3395 'get' => 'all', 3396 'orderby' => 'id', 3397 'fields' => 'id=>parent', 3398 'update_term_meta_cache' => false, 3388 3399 ) 3389 3400 );
Note: See TracChangeset
for help on using the changeset viewer.