Opened 2 years ago
Last modified 2 years ago
#16792 new enhancement
CategoryWalker, if cat_name is empty, do not append the empty a tag to the output
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | 3.1 |
| Severity: | trivial | Keywords: | has-patch |
| Cc: |
Description
If the theme is customized to skip some categories by doing something like add_filter('list_cats', 'hideSomeCatgory') and returning a null or an empty string as cat name, the CategoryWalker will append an empty html element to the output
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.

Hi,
This is my first contribution to an existing open source project. I hope I respected the ticket creation and patch submission process and that this can help improve Wordpress. I hope someone will review this correction.
Take care,
samo9789