Make WordPress Core


Ignore:
Timestamp:
10/13/2015 05:01:10 PM (8 years ago)
Author:
wonderboymusic
Message:

Taxonomy: in wp_list_categories(), add an arg: separator, to allow the overriding of <br/>.

Props wojtek.szkutnik.
Fixes #9025.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-walker-category.php

    r34416 r35140  
    190190            $output .=  ' class="' . $css_classes . '"';
    191191            $output .= ">$link\n";
     192        } elseif ( isset( $args['separator'] ) ) {
     193            $output .= "\t$link" . $args['separator'] . "\n";
    192194        } else {
    193195            $output .= "\t$link<br />\n";
Note: See TracChangeset for help on using the changeset viewer.