[wp-trac] [WordPress Trac] #37721: improve error handling of is_object_in_term in taxonomy.php
WordPress Trac
noreply at wordpress.org
Thu Aug 18 19:13:10 UTC 2016
#37721: improve error handling of is_object_in_term in taxonomy.php
--------------------------+------------------------------
Reporter: rpayne7264 | Owner: boonebgorges
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.6
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => assigned
Comment:
Thanks for the report, @rpayne7264. Previously:
- [34812] first started populating the cache here. So 4.4 would have
introduced a bug (not specifically noted here, but related) whereby a
`WP_Error` object might be incorrectly cached. See #32044.
- [37573] changed the taxonomy relationship cache structure so that only
item IDs are stored. This is when the `wp_list_pluck()` call was
introduced. See #36814.
So the notice is a 4.6 regression, but there's a related bug going back to
4.4.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37721#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list