Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#9453 closed defect (bug) (fixed)

set the taxonomy/term correctly when using a custom ?tax_slug=term_slug query

Reported by: DD32 Owned by: ryan
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: Taxonomy Keywords: has-patch
Focuses: Cc:


Currently, If a link is provided as such: http://.../?custom_taxonomy_slug=term_slug, WP doesnt reconise that its a 'custom_taxonomy' taxonomy, The result is that things such as wp_title() fail to reconise that the current page exists.

The attached patch makes http://.../?custom_taxonomy_slug=term_slug act the same as http://.../?taxonomy=custom_taxonomy&term=term_slug

Attachments (1)

9453.diff (606 bytes) - added by DD32 10 years ago.

Download all attachments as: .zip

Change History (2)

10 years ago

#1 @azaozz
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10866]) Set the taxonomy/term when using a custom ?tax_slug=term_slug query, props DD32, fixes #9453

Note: See TracTickets for help on using tickets.