- Timestamp:
- 12/31/2015 11:29:19 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/category-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r36013 r36135 521 521 * @type int $depth Category depth. Used for tab indentation. Default 0. 522 522 * @type string $taxonomy Taxonomy name. Default 'category'. 523 * @type string $separator Separator between links. Default '<br />'. 523 524 * } 524 525 * @return false|string HTML content only if 'echo' argument is 0. … … 526 527 function wp_list_categories( $args = '' ) { 527 528 $defaults = array( 528 'show_option_all' => '', 'show_option_none' => __('No categories'), 529 'orderby' => 'name', 'order' => 'ASC', 530 'style' => 'list', 531 'show_count' => 0, 'hide_empty' => 1, 532 'use_desc_for_title' => 1, 'child_of' => 0, 533 'feed' => '', 'feed_type' => '', 534 'feed_image' => '', 'exclude' => '', 535 'exclude_tree' => '', 'current_category' => 0, 536 'hierarchical' => true, 'title_li' => __( 'Categories' ), 529 'child_of' => 0, 530 'current_category' => 0, 531 'depth' => 0, 532 'echo' => 1, 533 'exclude' => '', 534 'exclude_tree' => '', 535 'feed' => '', 536 'feed_image' => '', 537 'feed_type' => '', 538 'hide_empty' => 1, 537 539 'hide_title_if_empty' => false, 538 'echo' => 1, 'depth' => 0, 539 'separator' => '<br />', 540 'taxonomy' => 'category' 540 'hierarchical' => true, 541 'order' => 'ASC', 542 'orderby' => 'name', 543 'separator' => '<br />', 544 'show_count' => 0, 545 'show_option_all' => '', 546 'show_option_none' => __( 'No categories' ), 547 'style' => 'list', 548 'taxonomy' => 'category', 549 'title_li' => __( 'Categories' ), 550 'use_desc_for_title' => 1, 541 551 ); 542 552
Note: See TracChangeset
for help on using the changeset viewer.