A Minnesota school resource officer who did not report a middle school teacher for sending sexual photos of herself to high school students pleaded guilty to aiding an offender.