git-svn-id: https://develop.svn.wordpress.org/trunk@5561 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cb8250ff30
commit
668f977343
@ -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' );
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user