Jake Vanderwerf
2026-08-29 f859e64a57c624ff2daa2b21355f65a49fd4807d
inc/managers/UserTermsManager.php
@@ -2,8 +2,8 @@
namespace JVBase\managers;
use JVBase\Instance;
use JVBase\managers\queue\Queue;
use JVBase\registrar\Registrar;
use WP_Post;
use WP_Error;
use Exception;
use WP_Query;
@@ -67,8 +67,7 @@
     */
    public function clearUserCache(int $user_id, string|null $taxonomy = null):void
    {
      $cache = Cache::for($user_id.'_term_relationships', DAY_IN_SECONDS)->connect('post', true)->connect('taxonomy', true);
      $cache->flush();
      Cache::for($user_id.'_term_relationships')->flush();
    }
    /**