The actor in question? Ted Danson.
[During the third season of "Cheers" (1984-85) both of the show's female stars -- Shelley Long (Diane Chambers) and Rhea Perlman (Carla Tortelli) -- were pregnant. Long's pregnancy was concealed on camera; Perlman's was worked into the script.]