Opened 15 years ago
Closed 15 years ago
#12857 closed defect (bug) (fixed)
Bug with WP class and custom taxonomy/post type
Reported by: | momo360modena | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Query | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
During the parse_request function, WordPress check the query if post_type and taxonomy are loaded.
But currently, WordPress verify with the taxonomy->name and the post_type->name instead the query_var.
And as the query_var and the name can be different...
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
That code block doesnt seem like it'd be required to me. WP_Query should be handling it all (And i believe it is).