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:
parent
2ec9c4acc2
commit
5e4cb3af70
|
@ -209,6 +209,9 @@ function wp_list_bookmarks($args = '') {
|
||||||
'category_after' => '</li>'
|
'category_after' => '</li>'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ( empty( $args['category'] ) )
|
||||||
|
$args['categorize'] = 0;
|
||||||
|
|
||||||
$r = wp_parse_args( $args, $defaults );
|
$r = wp_parse_args( $args, $defaults );
|
||||||
extract( $r, EXTR_SKIP );
|
extract( $r, EXTR_SKIP );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue