Ticket #34175: 34175.get_terms_fields_terms.taxonomy-functions.php.patch
| File 34175.get_terms_fields_terms.taxonomy-functions.php.patch, 471 bytes (added by , 10 years ago) |
|---|
-
wp-includes/taxonomy-functions.php
1485 1485 foreach ( $terms as $term ) { 1486 1486 $_terms[ $term->term_id ] = $term->slug; 1487 1487 } 1488 } else { 1489 $_terms = apply_filters( 'get_terms_fields_terms', $_terms, $_fields, $args, $taxonomies ); 1488 1490 } 1489 1491 1490 1492 if ( ! empty( $_terms ) ) {