Check style. Props nickshanks. fixes #3610
git-svn-id: http://svn.automattic.com/wordpress/trunk@4774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
425d2f70b1
commit
9ec6d7e762
|
@ -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