Make WordPress Core


Ignore:
Timestamp:
10/13/2015 05:01:10 PM (9 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/category-template.php

    r35032 r35140  
    475475 *
    476476 * @since 2.1.0
    477  * @since 4.4.0 Introduced the `hide_title_if_empty` argument. The `current_category` argument was modified to
     477 * @since 4.4.0 Introduced the `hide_title_if_empty` and `separator` arguments. The `current_category` argument was modified to
    478478 *              optionally accept an array of values.
    479479 *
     
    531531        'hide_title_if_empty' => false,
    532532        'echo' => 1, 'depth' => 0,
     533        'separator' => '<br />',
    533534        'taxonomy' => 'category'
    534535    );
Note: See TracChangeset for help on using the changeset viewer.