WD 40 fell out of favour as it was found that after a certain period of time it abscorbed water. Spraying the internals of military aircraft with it was a common task in the seventies. I believe that the 40 stood for 40 day protection.
I have read that ACF 50 which does the same job and is aircraft approved does not abscorb water, but you would have to look into that.