WD-40 is NOT a solvent! It's a penetrating oil -- it gets water out and protects against corrosion, you can also use it as a mild lubricating agent. The only reason why it might help you get the glue off is it probably contains some sort of alcohol (benzene ring).