Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585462
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
833 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:33 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227865
Default Alt Text
(833 B)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment