﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
5419,typo in variable in get_bookmark(),DD32,anonymous,"from wp-includes/bookmark.php:

{{{
	$link = $wpdb->get_row($wpdb->prepare(""SELECT * FROM $wpdb->links WHERE link_id = %d LIMIT 1"", $bookmark_id));
	$link->link_category = array_unique( wp_get_object_terms($link_id, 'link_category', 'fields=ids') );
}}}

{{{$link_id}}} is undefined, I'm assuming this is supposed to be {{{$link->link_id}}}

As a result of this typo, Categories for links were not being returned with get_bookark()",defect (bug),closed,normal,2.5,Administration,2.5,normal,fixed,has-patch,
