WWE made the best of a bad situation.