From 6e69cc9798108c4480da685bd3bd803ab66fdf8e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 7 Nov 2012 19:25:18 +0000 Subject: [PATCH] Display links if no link categories exist. props MikeHansenMe. fixes #22216. git-svn-id: https://develop.svn.wordpress.org/trunk@22426 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/bookmark-template.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php index e960293595..c27ce4a31a 100644 --- a/wp-includes/bookmark-template.php +++ b/wp-includes/bookmark-template.php @@ -209,6 +209,9 @@ function wp_list_bookmarks($args = '') { 'category_after' => '' ); + if ( empty( $args['category'] ) ) + $args['categorize'] = 0; + $r = wp_parse_args( $args, $defaults ); extract( $r, EXTR_SKIP );