Codsall Community High School issued an alert to parents and pupils on its Facebook page