-
Committer:
boonebgorges
-
Date:
2018-05-25 01:23:23 UTC
-
Revision ID:
svn-v4:1a063a9b-81f0-0310-95a4-ce76da25c4cd:trunk:43142
Taxonomy: Improve cache handling when querying for terms using `all_with_object_id`.
When a term query using `fields=all_with_object_id` hits the cache, the
cached `stdClass` objects must be converted to `WP_Term` objects. This
was overlooked when `WP_Term_Query` was refactored to support object
queries in [38667].
Props dlh.
Fixes #44221.
Built from https://develop.svn.wordpress.org/trunk@43313