Ticket #6976: 6976_fix.patch
| File 6976_fix.patch, 645 bytes (added by , 18 years ago) |
|---|
-
wp-includes/taxonomy.php
1057 1057 if ( count($taxonomies) > 1 ) { 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))); 1063 1063 }