git-svn-id: http://svn.automattic.com/wordpress/trunk@5561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eb541a962f
commit
333d77ea9c
|
@ -76,7 +76,7 @@ function get_bookmarks($args = '') {
|
||||||
$exclusions .= ')';
|
$exclusions .= ')';
|
||||||
|
|
||||||
if ( ! empty($category_name) ) {
|
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;
|
$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( 'edit_link', 'delete_get_bookmark_cache' );
|
||||||
add_action( 'delete_link', 'delete_get_bookmark_cache' );
|
add_action( 'delete_link', 'delete_get_bookmark_cache' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue