[wp-trac] [WordPress Trac] #16627: Rewrite query vars are stripped from custom taxonomy page URLs via redirect_canonical()

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 19 02:55:43 UTC 2011


#16627: Rewrite query vars are stripped from custom taxonomy page URLs via
redirect_canonical()
---------------------------+--------------------
 Reporter:  gnoodl         |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.1.1
Component:  Rewrite Rules  |     Version:  3.1
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+--------------------

Comment (by dd32):

 > [15705] is where the conditional was altered.

 That reverted [15462], which was hiding the issue by only processing
 requests with `$_GET ` variables present.

 This particular change is rooted in the fact that non-category, non-tag
 taxonomies got a canonicalisation treatment.

 My initial thought pattern here, is that the function should check to see
 what `$query_vars` are present, ie. if anything other than taxonomy &
 `$taxonomy_query_var` are present in the rewrite, skip canonicalising
 based on the term path.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16627#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list