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