Make WordPress Core

Changeset 17528


Ignore:
Timestamp:
03/22/2011 08:27:45 PM (16 years ago)
Author:
ryan
Message:

Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r17526 r17528  
    28982898                                $this->queried_object = $term;
    28992899                                $this->queried_object_id = (int) $term->term_id;
     2900
     2901                                if ( $this->is_category )
     2902                                        _make_cat_compat( $this->queried_object );
    29002903                        }
    29012904                } elseif ( $this->is_post_type_archive ) {
Note: See TracChangeset for help on using the changeset viewer.