Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#16857 closed defect (bug) (fixed)

[15613] -> no more _make_cat_compat() on queried_object

Reported by: duck_'s profile duck_ Owned by:
Milestone: 3.1.1 Priority: normal
Severity: normal Version: 3.1
Component: Query Keywords: has-patch
Focuses: Cc:

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)

16857.diff (558 bytes) - added by scribu 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
13 years ago

  • Milestone changed from Awaiting Review to 3.1.1

@scribu
13 years ago

#2 @scribu
13 years ago

  • Keywords has-patch added; needs-patch removed

#3 @ryan
13 years ago

Looks good.

#4 @ryan
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [17528]) Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk

#5 @ryan
13 years ago

(In [17529]) Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for 3.1

Note: See TracTickets for help on using tickets.