In the past month I switched from straight to bent wrists when squatting and I haven't had elbow pains since. I will be doing a lot more volume in the coming weeks so I'll see if it continues to work.
As everyone above mentioned it was related to overuse of gripping. For me it was worse for squat because the angle of my forearm was not in line with the force vector applied which was to hold the bar down (the load is not in the plane created by the wrist, elbow and shoulder which results in out-of-plane shear stress at the elbow joint that the body can't efficiently handle). Whereas for deadlift I have never had elbow problems even with tight forearms because the load is linear going straight through the elbow joint so no shear stress is created.
By using bent wrist for squatting, I'm able to unload my forearms a bit while still generating the necessary tension in my lats (which is my main goal). The only reason why bent wrist never worked a long time ago was because I couldn't keep my torso tight enough to keep the bar from rolling but that hasn't been an issue so far (bent wrist don't work if a person can't keep a rigid torso). My wrists actually feel a lot better now. Also keep in mind that stiff wrists in a straight position can transfer more load than soft wrists in a bent position. Loads tend to travel a straight and/or stiff path.
With overuse of certain muscles I've found the three step approach to be pretty effective: 1) Alter the movement to rely less on that muscle, 2) Strengthen the antagonist muscle, 3) Strengthen the targeted weak muscle or muscles that perform the same function. It looks like you're doing what's needed to fix the problem. I wouldn't say that what you have done so far is a bandaid fix because what you're doing is improving the limiting factor of your lift by trying to rely less on it. It's only detrimental if you completely lose tightness when changing your elbow position.
Edit: I just watched Candito's video and I agree to experiment with keeping the wrists straight or bent and pushing the elbows fwd or back (but still down). All that really matters is preventing pain while utilizing your lats effectively.