Opened 2 years ago
Closed 2 years ago
#55858 closed defect (bug) (duplicate)
Bug in get_categories with child_of option
Reported by: | shvb2007 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
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.
Hi there, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #55837.