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:
parent
24e95b5bd9
commit
5de1543fc4
@ -209,12 +209,12 @@ function wp_list_bookmarks($args = '') {
|
|||||||
'category_after' => '</li>'
|
'category_after' => '</li>'
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( empty( $args['category'] ) )
|
|
||||||
$args['categorize'] = 0;
|
|
||||||
|
|
||||||
$r = wp_parse_args( $args, $defaults );
|
$r = wp_parse_args( $args, $defaults );
|
||||||
extract( $r, EXTR_SKIP );
|
extract( $r, EXTR_SKIP );
|
||||||
|
|
||||||
|
if ( empty( $args['category'] ) )
|
||||||
|
$categorize = 0;
|
||||||
|
|
||||||
$output = '';
|
$output = '';
|
||||||
|
|
||||||
if ( $categorize ) {
|
if ( $categorize ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user