Ticket #5050 (closed enhancement: fixed)
the_category and get_the_category_list should accept post ID as an argument
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | Template | Version: | 2.3 |
| Severity: | normal | Keywords: | the_category get_the_category get_the_category_list has-patch |
| Cc: | filosofo |
Description
There are a number of times when it would be nice to get the categories for a post outside of the loop.
My patch allows one to specify the post id, with no back-compat issues, as get_the_category_list calls get_the_category, which already can accept post ID as an argument.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

