Link category fixes. see #4189

git-svn-id: https://develop.svn.wordpress.org/trunk@5560 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-05-27 17:21:04 +00:00
parent bbcffa4c56
commit cb8250ff30
5 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ function wp_delete_link($link_id) {
function wp_get_link_cats($link_id = 0) {
$cats = get_object_terms($link_id, 'link_category', 'get=ids');
$cats = get_object_terms($link_id, 'link_category', 'fields=ids');
return array_unique($cats);
}