mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00: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>'
|
'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…
x
Reference in New Issue
Block a user