Opened 3 years ago
Last modified 2 years ago
#15007 closed defect (bug)
$wp_query->query_vars['cat'] not set properly — at Version 1
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Taxonomy | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by ryan)
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.
Note: See
TracTickets for help on using
tickets.