Opened 19 years ago
Closed 19 years ago
#4771 closed defect (bug) (fixed)
output of get_the_category doesn't go through the categories compatibility layer
| Reported by: | nbachiyski | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | taxonomy categories |
| Cc: | Focuses: |
Description
The category objects from get_the_category()}} doesn't contain {{{cat_name, because they weren't run through _make_cat_compat(). Propably the reason is that get_the_category()}} is in {{{category-template.php and not in category.php.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [5899]) Add back compat to get_the_category. Props nbachiyski. fixes #4771