I wonder if they told McCain during the vetting process?
From the linked, excerpted article:
Senior McCain campaign officials said McCain knew of the daughters pregnancy when he selected Palin last week as his vice presidential running mate, deciding that it did not disqualify the 44-year-old governor in any way.