In `Walker_Category::start_el()`, `$title` might not be set when `$args` are passed multiple levels into `walk_category_tree()`.
See #22400. git-svn-id: https://develop.svn.wordpress.org/trunk@28438 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ce5a31cd62
commit
5c28e2986c
|
@ -1001,7 +1001,7 @@ class Walker_Category extends Walker {
|
|||
} else {
|
||||
$alt = ' alt="' . $args['feed'] . '"';
|
||||
$name = $args['feed'];
|
||||
$link .= $args['title'];
|
||||
$link .= empty( $args['title'] ) ? '' : $args['title'];
|
||||
}
|
||||
|
||||
$link .= '>';
|
||||
|
|
Loading…
Reference in New Issue