Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

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

Download all attachments as: .zip

Change History (6)

#1 @nacin
16 years ago

  • Milestone Awaiting Review3.1.1

@scribu
16 years ago

#2 @scribu
16 years ago

  • Keywords has-patch added; needs-patch removed

#3 @ryan
15 years ago

Looks good.

#4 @ryan
15 years ago

  • Resolutionfixed
  • Status newclosed

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

#5 @ryan
15 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.