[wp-trac] [WordPress Trac] #14162: Introduce WP_Term class
WordPress Trac
noreply at wordpress.org
Fri Oct 16 21:41:54 UTC 2015
#14162: Introduce WP_Term class
------------------------------------+---------------------------
Reporter: scribu | Owner: boonebgorges
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"35227"]:
{{{
#!CommitTicketReference repository="" revision="35227"
Return `null` from `get_term()` on taxonomy mismatch.
[34997] caused `get_term()` to return an error object in the case when
`$taxonomy` did not match the taxonomy of the located term. This was an
inadvertant change from the previous behavior, when `get_term()` would
return
null in these cases.
Props dlh.
See #14162. Fixes #34332.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14162#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list