Was removal of MAIL_CLOSED event in 10.0 release intentional or accidental?

One of the key events provided for WoW addon coders was MAIL_CLOSED. This event has been around for 18 years. As of the WoW 10.0 release the event has been removed from the code …\BlizzardInterfaceCode\Interface\FrameXML\MailFrame.lua. The event is extremely useful and breaks most mail addons. While it is possible to work around this, it’s a considerable amount of work. I was wondering if this was an intentional or accidental change?

1 Like

It was replaced with a more general “frame close” event with an enum identifying what kind of frame:

wowpedia dot fandom dot com/wiki/PLAYER_INTERACTION_MANAGER_FRAME_HIDE

Some example code in the comments here on what to change:

www dot curseforge dot com/wow/addons/auditor