diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php index 398d121b73..da13e1219e 100644 --- a/wp-includes/bookmark.php +++ b/wp-includes/bookmark.php @@ -76,7 +76,7 @@ function get_bookmarks($args = '') { $exclusions .= ')'; if ( ! empty($category_name) ) { - if ( $category = get_term_by('name', $category_name, 'link_category') ); + if ( $category = get_term_by('name', $category_name, 'link_category') ) $category = $category->term_id; } @@ -149,4 +149,4 @@ add_action( 'add_link', 'delete_get_bookmark_cache' ); add_action( 'edit_link', 'delete_get_bookmark_cache' ); add_action( 'delete_link', 'delete_get_bookmark_cache' ); -?> \ No newline at end of file +?>