Changeset 52484 for branches/3.9/src/wp-includes/taxonomy.php
- Timestamp:
- 01/06/2022 06:25:42 PM (4 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
- Property svn:mergeinfo changed
/trunk merged: 52454,52456-52457
- Property svn:mergeinfo changed
-
branches/3.9/src/wp-includes/taxonomy.php
r37140 r52484 819 819 } 820 820 821 $query['terms'] = array_unique( (array) $query['terms'] ); 821 if ( 'slug' === $query['field'] || 'name' === $query['field'] ) { 822 $query['terms'] = array_unique( (array) $query['terms'] ); 823 } else { 824 $query['terms'] = wp_parse_id_list( $query['terms'] ); 825 } 822 826 823 827 if ( is_taxonomy_hierarchical( $query['taxonomy'] ) && $query['include_children'] ) {
Note: See TracChangeset
for help on using the changeset viewer.