mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
4d17d22a47281dd16e0f99262cec0f309f3a470b
[34999] modified the cache strategy for terms in the context of `wp_get_object_terms()`. As part of these changes, the `object_id` property of term objects had to be unset before being cached. To avoid modifying passed-by- reference terms, `update_term_cache()` attempted to make a copy of the terms passed to the function; however, it failed to use the `clone` keyword, and thus only created a reference instead of a copy. Props berengerzyla. Fixes #35462. git-svn-id: https://develop.svn.wordpress.org/trunk@36323 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%