Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -347,9 +347,13 @@ |
348 | 348 | } elseif ( $targetUser->getId() == $editor->getId() ) { |
349 | 349 | wfDebug( __METHOD__.": user edited their own talk page, no notification sent\n" ); |
350 | 350 | } elseif( $targetUser->getOption( 'enotifusertalkpages' ) ) { |
351 | | - wfDebug( __METHOD__.": sending talk page update notification\n" ); |
352 | | - $this->compose( $targetUser ); |
353 | | - $userTalkId = $targetUser->getId(); |
| 351 | + if( $targetUser->isEmailConfirmed() ) { |
| 352 | + wfDebug( __METHOD__.": sending talk page update notification\n" ); |
| 353 | + $this->compose( $targetUser ); |
| 354 | + $userTalkId = $targetUser->getId(); |
| 355 | + } else { |
| 356 | + wfDebug( __METHOD__.": talk page owner doesn't have validated email\n" ); |
| 357 | + } |
354 | 358 | } else { |
355 | 359 | wfDebug( __METHOD__.": talk page owner doesn't want notifications\n" ); |
356 | 360 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -66,8 +66,9 @@ |
67 | 67 | * (bug 15049) Fix for CheckUser extension's log search: usernames containing |
68 | 68 | a "-" were incorrectly turned into bogus IP range searches. |
69 | 69 | Patch by Max Semenik. |
| 70 | +* (bug 15055) Talk page notifications no longer attempt to send mail when |
| 71 | + user's e-mail address is invalid or unconfirmed |
70 | 72 | |
71 | | - |
72 | 73 | === API changes in 1.14 === |
73 | 74 | |
74 | 75 | * Registration time of users registered before the DB field was created is now |