That seems to be true only in British English. In other dialects (USA, Canada, Australia), corn refers only to maize. (I'd never heard corn used as a general term, though Miriam-Webster does affirm this British usage.)