src/wp-includes/category-template.php | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php
index 438bbe9966..7619ba2202 100644
|
a
|
b
|
function get_the_category_list( $separator = '', $parents = '', $post_id = false |
| 148 | 148 | $categories = apply_filters( 'the_category_list', get_the_category( $post_id ), $post_id ); |
| 149 | 149 | |
| 150 | 150 | if ( empty( $categories ) ) { |
| 151 | | /** This filter is documented in wp-includes/category-template.php */ |
| | 151 | /** |
| | 152 | * Filters the category or list of categories. |
| | 153 | * |
| | 154 | * @since 1.2.0 |
| | 155 | * |
| | 156 | * @param string List of categories for the current post. |
| | 157 | * @param string $separator Separator used between the categories. |
| | 158 | * @param string $parents How to display the category parents. Accepts 'multiple', |
| | 159 | * 'single', or empty. |
| | 160 | */ |
| 152 | 161 | return apply_filters( 'the_category', __( 'Uncategorized' ), $separator, $parents ); |
| 153 | 162 | } |
| 154 | 163 | |