Donald Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE reportedly revised his highly anticipated immigration speech Wednesday after Mexican President Enrique Peña Nieto, following a meeting between the two, tweeted that the country would not pay for a wall along the U.S.'s southern border.

ADVERTISEMENT

Trump was reportedly peeved that Peña Nieto made that portion of their conversation public, according to The Wall Street Journal.

The Republican presidential nominee then inserted a line into his speech, which he delivered in Phoenix: "They don't know it yet but they're going to pay for the wall."

"I had no choice," Trump told the Journal about the addition, but added of the Mexican president, "I liked him very much."

During a joint press conference following their surprising meeting in Mexico City Wednesday, Trump told reporters they had not discussed how the wall would be funded.

But later, reports surfaced that Peña Nieto privately told Trump that Mexico would not pay for it.

He confirmed that on Twitter, tweeting in Spanish: "At the start of the conversation with Donald Trump I made it clear that Mexico will not pay for the wall. From there, the conversation addressed other subjects and developed in a respectful manner."