LEOMINGTON, N.H. — A Dublin-based Irish school system has suspended a teacher for making comments about a student’s genitalia, saying the comment was “unacceptable” and “inappropriate.”

The teacher’s name has not been released.

“This is a matter of discipline, and we are taking the appropriate action,” the superintendent of the Leominster School System, Paul Fitzgerald, said in a statement Monday.

“We are in the process of reviewing this matter, and will be making no further comment at this time.”

The comments were made in a social media post by an unnamed teacher on the school’s Facebook page on Aug. 11.

“The teacher has made a public apology for the comment and has since withdrawn it,” Fitzgerald said.

“She is being investigated by the school administration.”

Leominsters Superintendent of Education, Paul FitzGerald, speaks during a news conference at the Leomster school in Ireland in July.

He said the school has suspended the teacher for five days.

(Mark Gorman/Associated Press) Fitzgerald said the comments were not directed at the student but were “offensive and inappropriate.”

He said it was important that teachers are held to high standards.

“Any time there is a comment that is offensive, it is unacceptable,” Fitzgerald told reporters.

“And if it’s not offensive, I think we can all agree that it’s inappropriate.”

Fitzgerald said that if the teacher’s comments are found to be offensive, “she will have to leave the school, as will all of our staff.”

Leomsters School Superintendent of Schools, Paul Fitzpatrick, said Monday that the school suspended the student for five weeks pending further investigation.

Leominests superintendent of schools, Paul Finn said in the statement, “In no way did the teacher intend to offend any member of the public or the staff of the school.

The student made a very sincere apology for her comments and we were pleased that the person who made the comment is now in a safe place.”

A spokesman for the Leoms Board of Education said the board was aware of the situation and that Fitzgerald had resigned.

The school system is the fifth-largest in the United States and one of the most diverse in the nation, with more than 2,600 students and 50 percent of its student body being foreign-born.

Fitzgerald said it’s important that all students feel safe in Leominsey’s public schools.

“There’s no place for such behavior in our school system,” Fitzgerald added.

The superintendent of Leominestown School District in Vermont, where Fitzgerald teaches, has also suspended a former principal and principal assistant for similar comments made on social media.

“At Leominessown, we do not tolerate comments that are harmful, derogatory or hateful toward any group or individual,” the district said in its statement.

“That said, we have been working to ensure that we are a safe, inclusive, welcoming and respectful community for all students and staff.”