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

git-svn-id: https://develop.svn.wordpress.org/trunk@22565 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-11-14 05:09:23 +00:00
parent 24e95b5bd9
commit 5de1543fc4
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 ) {