[wp-trac] [WordPress Trac] #13435: Can't Query a Term from a Custom Taxonomy

WordPress Trac wp-trac at lists.automattic.com
Tue May 18 15:17:32 UTC 2010


#13435: Can't Query a Term from a Custom Taxonomy
--------------------------+-------------------------------------------------
 Reporter:  developdaly   |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.0
Component:  General       |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 Using the following query I should be able to return a subset of posts
 with a post type of "listing" in a custom taxonomy of "listing-
 neighborhood" and term/tag ID of "12".

 `/?taxonomy=listing-neighborhood&post_type=listing&tag_ID=12`

 `/?taxonomy=listing-neighborhood&post_type=listing` works, but I'm not
 able to specify a term.

 I was told this may be due to `post_tag` still being hardcoded into
 `query.php` around line 1940 instead of a term variable.

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


More information about the wp-trac mailing list