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:
Scott Taylor 2014-05-15 19:13:45 +00:00
parent ce5a31cd62
commit 5c28e2986c
1 changed files with 1 additions and 1 deletions

View File

@ -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 .= '>';