[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:17:05 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:
--------------------------+---------------------------
Changes (by boonebgorges):
* keywords: needs-unit-tests has-patch needs-testing =>
* owner: => boonebgorges
* status: reopened => accepted
* milestone: Awaiting Review => 4.1
Comment:
nobinobi - Thanks for the report and the suggested fix.
realloc - Thanks for writing up the unit test. It's almost right: the
issue that nobinobi only arises if you concatenate a term string *that
begins with the ID of a term that the post belongs to*, not the ID of the
post itself.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29467#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list