mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
61577966d4
commit
30d4885613
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user