When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This was causing a second Categories to show up on the category widget. Props Jospeh Scott git-svn-id: https://develop.svn.wordpress.org/trunk@5356 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
176a6414e9
commit
3c6b689f0e
|
@ -552,7 +552,7 @@ function wp_widget_categories($args) {
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<ul>
|
<ul>
|
||||||
<?php wp_list_categories($cat_args); ?>
|
<?php wp_list_categories($cat_args . '&title_li='); ?>
|
||||||
</ul>
|
</ul>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue