(CNN) - Sen. John McCain's spokesman said Thursday the Arizona Republican is "glad" that U.S. Senate candidate Richard Mourdock of Indiana apologized for his remark that pregnancies caused by rape are intended by God - an apology Mourdock made Wednesday afternoon but that McCain was not aware of in a Wednesday interview on CNN's "Anderson Cooper 360."
"Senator McCain was traveling yesterday in Florida and did not have an opportunity to see Mr. Mourdock's full press conference before he taped his CNN interview," McCain's communications director, Brian Rogers, said in a statement. "Senator McCain is glad that Mr. Mourdock apologized to the people of Indiana and clarified his previous statement. Senator McCain hopes the people of Indiana will elect Mr. Mourdock to the U.S. Senate."
– Follow the Ticker on Twitter: @PoliticalTicker
– Check out the CNN Electoral Map and Calculator and game out your own strategy for November.
McCain, both a supporter of Mourdock and a high-profile surrogate for GOP presidential nominee Mitt Romney, said in his CNN interview on Wednesday that his support for the candidate and state treasurer was dependent on an apology.
"It depends on what he does," McCain said on "Anderson Cooper 360." He was answering a question about whether he still considered himself in Mourdock's corner after the comments on rape and pregnancy, which came at a debate Tuesday.
"If he apologizes and says he misspoke and he was wrong and asks the people to forgive him, I would be the first," the 2008 presidential nominee said, adding that he had made mistakes and asked for people's forgiveness after owning up to his transgressions.
During the Tuesday debate, Mourdock was explaining his opposition to abortion in cases of rape or incest when he made his remark.
"I struggled with it myself for a long time, but I came to realize life is a gift from God, and I think even when life begins in that horrible situation of rape, that it is something that God intended to happen," said Mourdock, the Indiana state treasurer. He added that he would allow for exceptions to an abortion ban when a mother's life was in danger.
Mourdock did say he was sorry that people had misinterpreted his comments at a news conference earlier Wednesday, but stuck by the crux of his argument that abortions should not be allowed in cases or rape or incest.
"I'm a much more humble person this morning because so many people mistook, twisted, came to misunderstand the points that I was trying to make," Mourdock said.
"I'm confident God abhors violence and rape, if they came away with any impression other than that, I truly regret it," Mourdock continued. "I apologize if they came away, and I have certainly been humbled by the fact that so many people think that that somehow was an interpretation."
McCain was the highest-profile Republican at the time to distance himself from Mourdock's comments by threatening to withdraw his endorsement. GOP presidential nominee Mitt Romney, who recently appeared in a television ad endorsing Mourdock, said through a campaign spokeswoman that he did not agree with the Indiana candidate but that he had not asked for a television ad he recorded for Mourdock be pulled.
Sen. Kelly Ayotte of New Hampshire and Rep. Mike Pence, the Republican running for governor of Indiana, attempted to put space between themselves and Mourdock by repudiating the remarks.
Ayotte was to campaign with Mourdock on Wednesday, but canceled those plans. Her spokesman, Jeff Grappone, issued a statement saying, "She disagrees with Treasurer Mourdock's comments, which do not represent her views."
Pence, in a statement issued Wednesday, said, "I strongly disagree with the statement made by Richard Mourdock during last night's Senate debate. I urge him to apologize."
Others, such as Sen. John Cornyn of Texas, came out in support of Mourdock. Cornyn is chairman of the National Republican Senatorial Committee.
"Richard and I, along with millions of Americans - including even Joe Donnelly - believe that life is a gift from God. To try and construe his words as anything other than a restatement of that belief is irresponsible and ridiculous," Cornyn said in a written statement. Donnelly is Mourdock's Democratic opponent for the Senate seat from Indiana.