Changeset 6007
- Timestamp:
- 09/02/2007 05:08:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r5983 r6007 968 968 global $object_term_cache, $blog_id; 969 969 970 if ( !is_array($ ids) )971 $ ids = array($ids);970 if ( !is_array($object_ids) ) 971 $object_ids = array($object_ids); 972 972 973 973 $taxonomies = get_object_taxonomies($object_type); 974 974 975 foreach ( $ ids as $id ) {975 foreach ( $object_ids as $id ) { 976 976 foreach ( $taxonomies as $taxonomy ) { 977 977 if ( isset($object_term_cache[$blog_id][$id][$taxonomy]) )
Note: See TracChangeset
for help on using the changeset viewer.