President-elect Donald Trump declared Wednesday that the deadly truck attack on a Christmas market in Germany was "an attack on humanity and it's got to be stopped."

He also suggested he might go forward with his campaign pledge to temporarily ban Muslim immigrants from coming to the United States.

"You know my plans. All along, I've been proven to be right, 100 percent correct," Trump said when asked if the attack in Berlin had caused him to reevaluate the proposal. "What's happening is disgraceful."

Trump proposed the Muslim ban during the Republican primary campaign, prompting criticism from both parties. He shifted his rhetoric during the general election to focus on temporarily halting immigration from an unspecified list of countries with ties to terrorism, though he did not disavow the Muslim ban.

A transition spokesman said later Wednesday that Trump's plans "might upset those with their heads stuck in the politically correct sand."