Avoid notices with [22426]. props pross. fixes #22420.

git-svn-id: http://core.svn.wordpress.org/trunk@22565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-14 05:09:23 +00:00
parent 61577966d4
commit 30d4885613
1 changed files with 3 additions and 3 deletions

View File

@ -209,12 +209,12 @@ 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 );
if ( empty( $args['category'] ) )
$categorize = 0;
$output = '';
if ( $categorize ) {