Changeset 4713

Show
Ignore:
Timestamp:
01/10/07 09:19:02 (2 years ago)
Author:
ryan
Message:

Fix list cats style arg. Props Dickie. fixes #3552

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/deprecated.php

    r4495 r4713  
    430430    if ( isset($r['optioncount']) ) 
    431431        $r['show_count'] = $r['optioncount']; 
    432     if ( !empty($r['list']) ) 
    433         $r['style'] = 'break'; 
     432    if ( isset($r['list']) ) 
     433        $r['style'] = $r['list'] ? 'list' : 'break'; 
    434434    $r['title_li'] = ''; 
    435435