Onshore wind in England was de-facto but not de-jure banned by the Tories in 2018, due to a footnote inserted in their National Planning Policy Framework. Labour removed this footnote in 2024, immediately after winning the election. [0]
Offshore wind was never affected, nor onshore wind in Scotland, Wales or Northern Ireland.
[0] https://www.gov.uk/government/publications/policy-statement-...
However, it does matter, when looked at in whole with the need for capacity in the National Grid. A pile of turbines across SE England would have really helped, because a lot of the offshore wind and Scottish wind power has to be dumped, and gas generators fired up instead, due to lack of grid capacity to distribute that power across the country.
We should, of course, have completed upgrades to the grid by now, but they're late.
Here's a great article about "curtailment" as it's known: https://ukerc.ac.uk/news/transmission-network-unavailability...