get_bookmark calls undefined function
|Reported by:||filosofo||Owned by:||anonymous|
|Severity:||normal||Keywords:||get_bookmark wp_get_link_cats has-patch|
get_bookmark, which is defined in wp-includes/bookmarks.php and is therefore presumably available to be used outside the admin area, calls wp_get_link_cats, which is defined only within the admin area, creating a fatal error if called elsewhere.
My patch just does on one line what wp_get_link_cats does anyways, using the taxonomy api.