Even Number 96 back in the day, despite its huge popularity the network is said to have pressured producer Bill Harmon to turn Don Finlayson (Joe Hasham) straight, even though Don was one of the show’s most popular characters.
Harmon called them out on it and said if he has to change the character then he’ll pick up the show and take it to another network. He won that battle.
Though it was a bit of a grey area around the camp Dudley Butterfield (Chard Hayward). Dudley was always supposedly bisexual but was long attached to Don, but towards the end of his run in the show they turned him “straight”. But the series had well jumped the shark by this stage and the character was gunned down when Hayward left the show.