diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 1995c3b321..461eda0c6e 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -3042,7 +3042,7 @@ function get_object_term_cache( $id, $taxonomy ) { $terms = array(); foreach ( $term_ids as $term_id ) { - $term = get_term( $term_id ); + $term = get_term( $term_id, $taxonomy ); if ( is_wp_error( $term ) ) { return $term; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 206f643524..c161faa253 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38778'; +$wp_version = '4.7-alpha-38779'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.