Changeset 14480
- Timestamp:
- 05/06/2010 06:16:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r14479 r14480 118 118 $taxonomies = array(); 119 119 foreach ( (array) $wp_taxonomies as $tax_name => $tax_obj ) { 120 if ( array_intersect($object, (array) $tax_obj->object_type) ) 121 $taxonomies[$tax_name] = ('names' == $output) ? $tax_name : $tax_obj; 120 if ( array_intersect($object, (array) $tax_obj->object_type) ) { 121 if ( 'names' == $output ) 122 $taxonomies[] = $tax_name; 123 else 124 $taxonomies[ $tax_name ] = $tax_obj; 125 } 122 126 } 123 127
Note: See TracChangeset
for help on using the changeset viewer.