#16857 closed defect (bug) (fixed)
[15613] -> no more _make_cat_compat() on queried_object
| Reported by: | duck_ | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1.1 |
| Component: | Query | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
[15613] condensed the three different tax handling branches in WP_Query::get_queried_object() into one using calls to get_term or get_term_by. This means that there is no longer a call to _make_cat_compat() when is_category so a category object is missing the backwards compatible cat_* properties.
Reported in #wordpress-dev by kennetha
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)
Looks good.