Opened 3 years ago
Closed 3 years ago
#12908 closed enhancement (duplicate)
Introduce get_term_ancestors()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | WordPress@… |
Attachments (1)
Change History (5)
comment:2
voyagerfan5761 — 3 years ago
- Cc WordPress@… added
Replying to filosofo:
That's an interesting approach, but I think you're going to eat up all the memory with a decent number of categories.
I don't think that's likely, since only two integer fields are retrieved: ID and parent.
Besides, wp_list_categories() retrieves all the fields for all the categories and I haven't heard any memory limit issues about that.
Note: See
TracTickets for help on using
tickets.

See #12443
That's an interesting approach, but I think you're going to eat up all the memory with a decent number of categories.