[wp-trac] [WordPress Trac] #40671: Calling get_term() with just ID, then calling it again with ID and a different taxonomy returns the same term
WordPress Trac
noreply at wordpress.org
Sat Jul 1 11:45:11 UTC 2017
#40671: Calling get_term() with just ID, then calling it again with ID and a
different taxonomy returns the same term
--------------------------+---------------------------
Reporter: GunGeekATX | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Taxonomy | Version: 4.7.4
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"40979"]:
{{{
#!CommitTicketReference repository="" revision="40979"
Taxonomy: Ignore cached term value when it doesn't match the queried
taxonomy.
When a cache entry is found that matches the requested `$term_id`, but
doesn't match an explicitly provided `$taxonomy`, that cache entry
should be ignored.
Props GunGeekATX.
Fixes #40671.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40671#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list