Check style. Props nickshanks. fixes #3610
git-svn-id: https://develop.svn.wordpress.org/trunk@4774 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a41ca94341
commit
e842aa31f7
@ -234,7 +234,7 @@ function wp_list_categories($args = '') {
|
||||
$output = '<li class="categories">' . $r['title_li'] . '<ul>';
|
||||
|
||||
if ( empty($categories) ) {
|
||||
if ( $list)
|
||||
if ( 'list' == $style )
|
||||
$output .= '<li>' . __("No categories") . '</li>';
|
||||
else
|
||||
$output .= __("No categories");
|
||||
|
Loading…
Reference in New Issue
Block a user