Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-includes/query.php

    r17527 r17529  
    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.