mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Fix list cats style arg. Props Dickie. fixes #3552
git-svn-id: http://svn.automattic.com/wordpress/trunk@4713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
634eb771b7
commit
741ea65d3b
@ -429,8 +429,8 @@ function wp_list_cats($args = '') {
|
||||
$r['show_last_update'] = $r['optiondates'];
|
||||
if ( isset($r['optioncount']) )
|
||||
$r['show_count'] = $r['optioncount'];
|
||||
if ( !empty($r['list']) )
|
||||
$r['style'] = 'break';
|
||||
if ( isset($r['list']) )
|
||||
$r['style'] = $r['list'] ? 'list' : 'break';
|
||||
$r['title_li'] = '';
|
||||
|
||||
return wp_list_categories($r);
|
||||
|
Loading…
x
Reference in New Issue
Block a user