From 30d48856138cc751c4860a15febacb4ed6165bd8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 14 Nov 2012 05:09:23 +0000 Subject: [PATCH] Avoid notices with [22426]. props pross. fixes #22420. git-svn-id: http://core.svn.wordpress.org/trunk@22565 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/bookmark-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php index c27ce4a31a..0673ffcea3 100644 --- a/wp-includes/bookmark-template.php +++ b/wp-includes/bookmark-template.php @@ -209,12 +209,12 @@ function wp_list_bookmarks($args = '') { 'category_after' => '' ); - if ( empty( $args['category'] ) ) - $args['categorize'] = 0; - $r = wp_parse_args( $args, $defaults ); extract( $r, EXTR_SKIP ); + if ( empty( $args['category'] ) ) + $categorize = 0; + $output = ''; if ( $categorize ) {