candidate: After Wilson 's successor Warren G. Harding continued American opposition to the League of Nations , Congress passed the Knox – Porter Resolution bringing a formal end to hostilities between the U.S. and the Central Powers .