As designed [dev] Code Event Listener function only checked at creation, not when modification


Well-known member
When I create a new code event listener, it checks if the function exists in the listener. However when I rename the function and update the listener with the old function name, it saves without throwing an error.


XenForo developer
Staff member
In general, this is intentional and changing the behavior runs the risk of breaking other things. In the vast majority of situations, we only validate fields when you change them. Since you're not changing the callbacks, we assume that they're still working.