Use array calling style. Props Denis-de-Bernardy. see #6647

git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-12-23 15:31:02 +00:00
parent 30e399b3e7
commit dcd3604d90
16 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ function wp_delete_link( $link_id ) {
*/
function wp_get_link_cats( $link_id = 0 ) {
$cats = wp_get_object_terms( $link_id, 'link_category', 'fields=ids' );
$cats = wp_get_object_terms( $link_id, 'link_category', array('fields' => 'ids') );
return array_unique( $cats );
}