Page MenuHomePhorge

No OneTemporary

Size
833 B
Referenced Files
None
Subscribers
None
diff --git a/includes/user/User.php b/includes/user/User.php
index 5ca1215b4ad..69251f7d96c 100644
--- a/includes/user/User.php
+++ b/includes/user/User.php
@@ -1986,9 +1986,9 @@ class User implements Stringable, Authority, UserIdentity, UserEmailContact {
$emailAuthentication = $config->get( MainConfigNames::EmailAuthentication );
- if ( $emailAuthentication && $type === 'changed' ) {
+ if ( $emailAuthentication && $type === 'changed' && $this->isEmailConfirmed() ) {
// Send the user an email notifying the user of the change in registered
- // email address on their previous email address
+ // email address on their previous verified email address
$change = $str != '' ? 'changed' : 'removed';
$notificationResult = $this->sendMail(
wfMessage( 'notificationemail_subject_' . $change )->text(),

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:33 AM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227865
Default Alt Text
(833 B)

Event Timeline