Changeset 7953
- Timestamp:
- 05/19/2008 06:47:48 PM (18 years ago)
- File:
-
- 1 edited
-
branches/2.5/wp-includes/taxonomy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-includes/taxonomy.php
r7763 r7953 1059 1059 foreach ( $taxonomies as $index => $taxonomy ) { 1060 1060 $t = get_taxonomy($taxonomy); 1061 if ( is _array($t->args) && $args != array_merge($args, $t->args) ) {1061 if ( isset($t->args) && is_array($t->args) && $args != array_merge($args, $t->args) ) { 1062 1062 unset($taxonomies[$index]); 1063 1063 $terms = array_merge($terms, wp_get_object_terms($object_ids, $taxonomy, array_merge($args, $t->args))); … … 1066 1066 } else { 1067 1067 $t = get_taxonomy($taxonomies[0]); 1068 if ( is _array($t->args) )1068 if ( isset($t->args) && is_array($t->args) ) 1069 1069 $args = array_merge($args, $t->args); 1070 1070 }
Note: See TracChangeset
for help on using the changeset viewer.