mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Taxonomy: in wp_list_categories(), add an arg: separator, to allow the overriding of <br/>.
Props wojtek.szkutnik. Fixes #9025. git-svn-id: https://develop.svn.wordpress.org/trunk@35140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -189,6 +189,8 @@ class Walker_Category extends Walker {
|
||||
|
||||
$output .= ' class="' . $css_classes . '"';
|
||||
$output .= ">$link\n";
|
||||
} elseif ( isset( $args['separator'] ) ) {
|
||||
$output .= "\t$link" . $args['separator'] . "\n";
|
||||
} else {
|
||||
$output .= "\t$link<br />\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user