Bug: new user notification email cannot be disabled

There is a bug where the new user notification email sends even when the setting is disabled via the ‘wp_send_new_user_notification_to_user’ filter.

To fix the bug the $send_notification_to_user variable needs to be included in the condition on line 117.

1 Like

Thanks Tim, looks like that is indeed a bug. I’ll add a fix for it in the next version.