[wp-trac] [WordPress Trac] #14162: Introduce WP_Term class
WordPress Trac
noreply at wordpress.org
Sat Oct 10 03:38:43 UTC 2015
#14162: Introduce WP_Term class
------------------------------------+---------------------------
Reporter: scribu | Owner: boonebgorges
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"34999"]:
{{{
#!CommitTicketReference repository="" revision="34999"
Return `WP_Post` objects from `wp_get_object_terms()`.
A side effect of this change is that terms stored in the cache no longer
have
an `object_id` associated with them. Previously, `object_id` had always
been
cached when the term cache was populated via `wp_get_object_terms()`, a
strategy that was mostly harmless but still incorrect.
See #14162.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14162#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list