Opened 15 years ago
Closed 15 years ago
#12908 closed enhancement (duplicate)
Introduce get_term_ancestors()
Reported by: | scribu | Owned by: | filosofo |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | Cc: |
Attachments (1)
Change History (5)
#3
in reply to:
↑ 1
@
15 years ago
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.