The OP is selective in its quoting of the article. The professor did NOT say the "male gaze" part.
According to a statement written by 11 of the other 13 students in Maggor's class that day, the situation may have gone down a bit differently than Chai wrote on Facebook.
They wrote that while Maggor made "an error in phrasing," she had "apologized on more than one occasion." The students added that Chai's post did not "adequately represent [Maggor's] past and continued advocacy for women and minorities."
"Our intention in writing this letter is in no way to invalidate any of Letitia's experience," the statement reads. "We strongly support and identify with Letitia's fight for equality ... The majority of us are students of color, from multi-ethnic backgrounds, who very much relate to Letitia's frustration with systemic oppression that is part of the fabric of this country. We do not want to discredit her narrative. However, we feel it is important and our obligation to share our impression of Wednesday's events to provide a fair representation of the situation."
Below is an excerpt from the students' statement detailing how the conversation in question happened (scroll below to read the letter in full):
Letitia stood up to give her speech. Before she began, our professor asked Letitia if she would wear "those shorts" to her actual presentation on Saturday. Our professor regularly asks all of the students, male and female, such questions to clarify appropriate attire for public speaking. Our professor went on to say that what you wear and how you present yourself make a statement. She noted that if you were to wear jean shorts to your thesis presentation, that is a statement. Her focus on attire was a means of noting the importance of professionalism in certain public speaking situations.
Our professor acknowledged the discomfort of speaking overtly about attire and perception, especially for women, and encouraged us to share our thoughts and opinions. Students began discussing their beliefs on the matter. Letitia became visibly upset by our professor's earlier comments, and after one male international student's comment (mentioned in her post), she left the room. From the initial comments to Letitia's exit, only a few minutes had passed, and many people were speaking at once. Tensions were high, and neither our professor nor Letitia was able to adequately defend her position.
After Letitia left, our professor listened and agreed with many of the student's comments and criticisms. She wholeheartedly agreed that her initial comment was about professionalism rather than the "male gaze" mentioned in the student discussion. She also apologized for her choice of words, acknowledging that the notion of "short shorts" on women carries a lot of cultural and political baggage. Unfortunately, because Letitia was not in the room, she was not able to hear these comments, and we believe this contributed to the miscommunication.