diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index f5c2f38634..f3ee6218ff 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -1871,6 +1871,8 @@ function wp_get_object_terms($object_ids, $taxonomies, $args = array()) { $object_ids = array($object_ids); $object_ids = array_map('intval', $object_ids); + $args = wp_parse_args( $args ); + $args['taxonomy'] = $taxonomies; $args['object_ids'] = $object_ids; diff --git a/wp-includes/version.php b/wp-includes/version.php index b79490b669..4999601076 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7.1-alpha-39610'; +$wp_version = '4.7.1-alpha-39611'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.