I think (memories of very old novels without actually checking anything) that the phrase used to refer to the whole range of wooing and courting activities. It is only more recently that it has come to mean almost exclusively intercourse.
Hmmm, that might be a more societal than linguistic change .