[wp-trac] [WordPress Trac] #15007: $wp_query->query_vars['cat'] not set properly
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 1 14:11:40 UTC 2010
#15007: $wp_query->query_vars['cat'] not set properly
--------------------------+-------------------------------------------------
Reporter: ryan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Taxonomy | Version: 3.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
I've noticed some themes are returning the same content for all categories
when running current trunk (when visiting /category/foo|bar|baz). They
have usage of $wp_query->query_vars['cat'] in common. Switching them to
get_queried_object_id() fixes them, but we should preserve back compat.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15007>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list