[wp-trac] [WordPress Trac] #16857: [15613] -> no more _make_cat_compat() on queried_object

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 14 20:49:19 UTC 2011


#16857: [15613] -> no more _make_cat_compat() on queried_object
--------------------------+-----------------------------
 Reporter:  duck_         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  3.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 [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 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2011-03-14&sort=asc#m255869 #wordpress-dev by kennetha]

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16857>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list