Wigan Athletic have completed their 12th signing of the summer transfer window by bringing in Ryan Shotton from Stoke City on a season-long loan.