[wp-trac] [WordPress Trac] #12719: Custom taxonomy with query_var set, gets taxonomy query_var appended anyway

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 26 12:42:16 UTC 2010


#12719: Custom taxonomy with query_var set, gets taxonomy query_var appended anyway
--------------------------+-------------------------------------------------
 Reporter:  Silkjaer      |       Owner:  ryan                
     Type:  defect (bug)  |      Status:  new                 
 Priority:  normal        |   Milestone:  Unassigned          
Component:  Query         |     Version:  3.0                 
 Severity:  normal        |    Keywords:  taxonomy, query_vars
--------------------------+-------------------------------------------------
 In my browser address field, appending my WP url with
 "?customtax=termslug", the real WP query string gets changed to
 "?customtax=termslug&taxonomy=customtax&term=termslug".

 This causes cases where I append two custom taxes in the URL to not work.
 E.g. "?customtax1=termslug1&customtax2=termslug2" would result in
 something like
 "?customtax1=termslug1&taxonomy=customtax1&term=termslug1&customtax2=termslug2"
 and not work.

 If i two sets of custom taxonomies and slugs manually through a
 query_posts it works, and is not modified by WP.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12719>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list