Skip to content
Commit c536d7e4 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Taxonomy: Make sure `update_object_term_cache()` caches all terms that were not already cached.

Due to an unintended `break` instruction from a previous iteration, the function cached only one term in each taxonomy.

Follow-up to [48055].

Props Chouby.
Fixes #50352.
Built from https://develop.svn.wordpress.org/trunk@48187


git-svn-id: https://core.svn.wordpress.org/trunk@47956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent cbb4ea6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment