diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index b70c5cb541..8365d68e07 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -1273,9 +1273,9 @@ function wp_get_object_terms($object_ids, $taxonomies, $args = array()) { } if ( ! $terms ) - return array(); + return $terms = array(); - return $terms; + return apply_filters('wp_get_object_terms', $terms, $object_ids, $taxonomies, $args); } /**