WHOOPI’S 18-YEAR GRUDGE — AGAINST TED DANSON’S WIFE!

TED DANSON, MARY STEENBURGEN, WHOOPI GOLDBERG

WHOOPI GOLDBERG remains heartbroken over TED DANSON — and she blames it on MARY STEENBURGEN, say sources.

"Whoopi hates Mary and the reason is simple — she married Ted Danson and Whoopi didn't," an insider told the ENQUIRER. Ted, 65, dated 57-year-old Whoopi for a year in the early '90s after they met on the set of their movie "Made in America."

When they began their affair, the "Cheers" star was married to his wife Casey, but Ted was so in love with the comedian that he left his family home and moved into a hotel with her.

They made plans to wed as soon as he could get a divorce, but under pressure from his parents, he dumped Whoopi, say sources, shattering her heart.

Shortly after, the actor began dating Mary. But as the ENQUIRER reported, that didn't stop him from enjoying a brief reunion with Whoopi — a steamy fling in an upstairs room at Hollywood's House of Blues.

Although Ted and Mary have now been married for 18 years, Whoopi is apparently still holding a torch for the "CSI" star.

Said the insider: "For Whoopi, Ted is the one that got away."