WordPress 4.7.1
[autoinstalls/wordpress.git] / wp-includes / taxonomy.php
index f5c2f386344569ab3699b7d30f19ab49dc8e9891..f3ee6218ffe1afb1c4fc51c89ae3301995beb681 100644 (file)
@@ -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;