WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#15007 closed defect (bug)

$wp_query->query_vars['cat'] not set properly — at Initial Version

Reported by: ryan Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Taxonomy Keywords:
Focuses: Cc:

Description

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_varscat? in common. Switching them to get_queried_object_id() fixes them, but we should preserve back compat.

Change History (0)

Note: See TracTickets for help on using tickets.