Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#9453 closed defect (bug) (fixed)

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

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

Description

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 15 years ago.

Download all attachments as: .zip

Change History (2)

@DD32
15 years ago

#1 @azaozz
15 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.