[wp-trac] [WordPress Trac] #29467: is_object_in_term() return true If the term name begins with a number
WordPress Trac
noreply at wordpress.org
Mon Nov 3 14:24:18 UTC 2014
#29467: is_object_in_term() return true If the term name begins with a number
--------------------------+---------------------------
Reporter: nobinobi | Owner: boonebgorges
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.1
Component: Taxonomy | Version: 2.7
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"30204"]:
{{{
#!CommitTicketReference repository="" revision="30204"
Add some unit tests for `is_object_in_term()`.
These tests check a number of the ways that different kinds of values for
`$terms` (integers that match term_id, strings that match term_id or name
or
slug) are handled.
See #29467.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29467#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list