Opened 4 years ago
Closed 4 years ago
#55858 closed defect (bug) (duplicate)
Bug in get_categories with child_of option
| Reported by: | shvb2007 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Hello,
I found a bug in get_categories function when using it with child_of option. it retrieves all categories not only categories that are child of certain category. This happened after upgrading to WordPress version 6.0.
When I use it with parent option in my code, it generates proper output.
Hope that help you.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi there, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #55837.