[wp-trac] [WordPress Trac] #34262: `get_the_terms()` should not cache `WP_Term` objects
WordPress Trac
noreply at wordpress.org
Mon Oct 12 15:12:24 UTC 2015
#34262: `get_the_terms()` should not cache `WP_Term` objects
--------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------
Comment (by boonebgorges):
In [changeset:"35031"]:
{{{
#!CommitTicketReference repository="" revision="35031"
Be stricter about sanitizing values coming out of `WP_Term`.
Data passed into `get_instance()` should be run through `sanitize_term()`
before being used.
See #34262.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34262#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list