High-temperature superconductors need to be doped with elements that donate charge-carrier. By changing the dopant cation, the superconducting transition temperature can be changed markedly. Why? It is due to lattice strains, caused by disorder in the cation size. This solves a ten-year old puzzle — but leaves open the question of the microscopic mechanism of high-temperature superconductivity.