Skip to content
Commit 0ce7c375 authored by Ryan Boren's avatar Ryan Boren
Browse files

Use wp_cache_add() instead of wp_cache_set() when priming the object term...

Use wp_cache_add() instead of wp_cache_set() when priming the object term cache in update_object_term_cache(). Pass the real post_type to clean_object_term_cache() instead of hard-coding post. Call clean_object_term_cache() from clean_bookmark_cache(). Props leewillis77. fixes #19690

git-svn-id: https://core.svn.wordpress.org/trunk@19729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 0f5209c5
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