According to
Gore Vidal, as recounted in
The Celluloid Closet (1995) one of the script elements he was brought in to re-write was the relationship between Messalah and Ben-Hur. Director
William Wyler was concerned that two men who had been close friends as youths would not simply hate one another as a result of disagreeing over politics. Thus, Vidal devised a thinly veiled subtext suggesting the Messalah and Ben-Hur had been lovers as teenagers, and their fighting was a result of Ben-Hur spurning Messalah. Wyler was initially hesitant to implement the subtext, but agreed on the conditions that no direct reference ever be made to the characters' sexuality in the script, that Vidal personally discuss the idea with
Stephen Boyd, and not mention the subtext to
Charlton Heston who, Wyler feared, would panic at the idea. After Vidal admitted to adding the homosexual subtext in public, Heston denied the claim, going so far as to suggest Vidal had little input into the final script, and his lack of screen credit was a result of his being fired for trying to add gay innuendo. Vidal rebutted by citing passages from Heston's 1978 autobiography, where the actor admitted that Vidal had authored much of the final shooting script.
more