Fix list cats style arg. Props Dickie. fixes #3552
git-svn-id: https://develop.svn.wordpress.org/trunk@4713 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a4d511017c
commit
2bbd69a21e
@ -429,8 +429,8 @@ function wp_list_cats($args = '') {
|
|||||||
$r['show_last_update'] = $r['optiondates'];
|
$r['show_last_update'] = $r['optiondates'];
|
||||||
if ( isset($r['optioncount']) )
|
if ( isset($r['optioncount']) )
|
||||||
$r['show_count'] = $r['optioncount'];
|
$r['show_count'] = $r['optioncount'];
|
||||||
if ( !empty($r['list']) )
|
if ( isset($r['list']) )
|
||||||
$r['style'] = 'break';
|
$r['style'] = $r['list'] ? 'list' : 'break';
|
||||||
$r['title_li'] = '';
|
$r['title_li'] = '';
|
||||||
|
|
||||||
return wp_list_categories($r);
|
return wp_list_categories($r);
|
||||||
|
Loading…
Reference in New Issue
Block a user