Changeset 3881 for trunk/wp-includes/category-template.php
- Timestamp:
- 06/17/2006 12:05:00 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r3843 r3881 213 213 parse_str($args, $r); 214 214 215 $defaults = array('show_option_all' => '', 'orderby' => ' ID',216 'order' => ' asc', 'style' => 'list', 'show_last_update' => 0,215 $defaults = array('show_option_all' => '', 'orderby' => 'name', 216 'order' => 'ASC', 'show_last_update' => 0, 'style' => 'list', 217 217 'show_count' => 0, 'hide_empty' => 1, 'use_desc_for_title' => 1, 218 218 'child_of' => 0, 'feed' => '', 'feed_image' => '', 'exclude' => '', 219 'hierarchical' => true, 'title_li' => '');219 'hierarchical' => true, 'title_li' => __('Categories')); 220 220 $r = array_merge($defaults, $r); 221 221 $r['include_last_update_time'] = $r['show_date']; … … 225 225 226 226 $output = ''; 227 if ( $title_li && $list)227 if ( $title_li && 'list' == $style ) 228 228 $output = '<li class="categories">' . $r['title_li'] . '<ul>'; 229 229 … … 244 244 } 245 245 246 if ( $title_li && $list)246 if ( $title_li && 'list' == $style ) 247 247 $output .= '</ul></li>'; 248 248
Note: See TracChangeset
for help on using the changeset viewer.