Skip to content

Commit 76e1427

Browse files
ayebarematticbot
authored andcommitted
Fix/disable email address change emails (#42635)
* Disable email address changed notifications * changelog * Update the change log Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/14087448147 Upstream-Ref: Automattic/jetpack@c2fff00
1 parent f2782f1 commit 76e1427

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

functions.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,3 +427,10 @@ function wpcomsh_newsletter_categories_location() {
427427
* Enables new likes layout on Atomic.
428428
*/
429429
add_filter( 'likes_new_layout', '__return_true' );
430+
431+
/**
432+
* Disable email notification when a user's email address is changed.
433+
*
434+
* @see https://github.com/Automattic/wp-calypso/issues/100279
435+
*/
436+
add_filter( 'send_email_change_email', '__return_false' );

0 commit comments

Comments
 (0)