diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 16bdf26ae8..ccaae9041b 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -3783,7 +3783,7 @@ function update_object_term_cache($object_ids, $object_type) { $object_terms = array(); foreach ( (array) $terms as $term ) - $object_terms[$term->object_id][$term->taxonomy][$term->term_id] = $term; + $object_terms[$term->object_id][$term->taxonomy][] = $term; foreach ( $ids as $id ) { foreach ( $taxonomies as $taxonomy ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f12ef9a51..034d6d0853 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31286'; +$wp_version = '4.2-alpha-31287'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.