Display links if no link categories exist. props MikeHansenMe. fixes #22216.

git-svn-id: http://core.svn.wordpress.org/trunk@22426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-07 19:25:18 +00:00
parent 2ec9c4acc2
commit 5e4cb3af70
1 changed files with 3 additions and 0 deletions

View File

@ -209,6 +209,9 @@ function wp_list_bookmarks($args = '') {
'category_after' => '</li>'
);
if ( empty( $args['category'] ) )
$args['categorize'] = 0;
$r = wp_parse_args( $args, $defaults );
extract( $r, EXTR_SKIP );