Add a filter to the result of wp_get_object_terms(). Fixes #8704 props Denis-de-Bernardy.

git-svn-id: http://svn.automattic.com/wordpress/trunk@11253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-05-10 09:11:58 +00:00
parent d6b7dc3a8e
commit 077697d1ca

View File

@ -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);
}
/**