What President Trump billed on Saturday as a compromise to end the country’s longest government shutdown pleased neither the Democratic congressional leaders whose buy-in he needs to strike a deal nor the core supporters whose backing has always been at the heart of his insistence on a border wall.

Instead, in offering temporary protections for about one million immigrants at risk of deportation in exchange for funding for a wall, Mr. Trump did something rarely seen during his presidency. He tried to reach beyond his base of supporters — which polls have begun to show is losing patience with him as the partial shutdown drags into its fifth week — and speak to a broader swath of American…

[I]n seeking to inch toward the center, Mr. Trump alienated portions of his hard-right base, the core supporters he most depends on and the group he and his closest aides have most feared losing. That raised the possibility that, in his zeal to get out of an intractable situation, he may have landed himself in the worst of all worlds, without a clear solution or the support of his most ardent followers.