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 .= ')';
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue