Opened 16 years ago
Closed 16 years ago
#12908 closed enhancement (duplicate)
Introduce get_term_ancestors()
| Reported by: | scribu | Owned by: | filosofo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Attachments (1)
Change History (5)
#3
in reply to: ↑ 1
@
16 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.