From 5e4cb3af707e5b02793941336975f81eaef5999c 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: http://core.svn.wordpress.org/trunk@22426 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 );