Matching-mode user_register suppression also blocks the new user's own set-password email #8
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eric/apprise-wordpress-notifications#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during security audit run 3 (2026-10-16). This is a functional bug, not a security issue.
Problem
In
matchingemail-suppression mode, whenuser_registeris enabled,suppress_matching_events()suppresses both new-user emails (includes/class-apprise-email-suppressor.php:92-95):The Apprise
user_registernotification goes only to the site operator. Suppressing_to_useralso blocks the new user's own welcome / set-password email, so a newly registered user never gets their login link. They have to find the lost-password flow on their own.Fix
wp_send_new_user_notification_to_admin. That is the email the Apprise notification replaces.user_registeron, the_to_adminfilter returns false and the_to_userfilter is not registered.