Changeset 35140
- Timestamp:
- 10/13/2015 05:01:10 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r35032 r35140 475 475 * 476 476 * @since 2.1.0 477 * @since 4.4.0 Introduced the `hide_title_if_empty` a rgument. The `current_category` argument was modified to477 * @since 4.4.0 Introduced the `hide_title_if_empty` and `separator` arguments. The `current_category` argument was modified to 478 478 * optionally accept an array of values. 479 479 * … … 531 531 'hide_title_if_empty' => false, 532 532 'echo' => 1, 'depth' => 0, 533 'separator' => '<br />', 533 534 'taxonomy' => 'category' 534 535 ); -
trunk/src/wp-includes/class-walker-category.php
r34416 r35140 190 190 $output .= ' class="' . $css_classes . '"'; 191 191 $output .= ">$link\n"; 192 } elseif ( isset( $args['separator'] ) ) { 193 $output .= "\t$link" . $args['separator'] . "\n"; 192 194 } else { 193 195 $output .= "\t$link<br />\n";
Note: See TracChangeset
for help on using the changeset viewer.