[wp-trac] [WordPress Trac] #20590: is_tax() with term parameter returns true for any taxonomy with that term

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 30 04:23:31 UTC 2012


#20590: is_tax() with term parameter returns true for any taxonomy with that term
--------------------------+------------------------------
 Reporter:  petercarlill  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by wonderboymusic):

 Yep - {{{WP_Query::is_tax()}}} only does the tax check if you didn't pass
 a term - I have a fix - patch attached

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


More information about the wp-trac mailing list