[wp-trac] [WordPress Trac] #10721: is_tax() fails with a parameter
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 27 22:04:38 UTC 2009
#10721: is_tax() fails with a parameter
--------------------------+-------------------------------------------------
Reporter: scribu | Owner: filosofo
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Taxonomy | Version: 2.9
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Changes (by scribu):
* cc: scribu@… (removed)
Comment:
Replying to [comment:3 ryan]:
> I wonder if it should search for both taxonomy and term since we don't
have an is_term() equivalent (is_term() is already used in taxonomy.php
for something else). Hmm, maybe is_tax_term().
is_tax_term() sounds good.
> Anyhow, I'm wondering if is_tax() is being used by plugins to search
term slugs, since that's what it currently (and erroneously) does.
Doesn't really matter, does it?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10721#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list