From 38a34bb4179d53bfd00027a1922ce95c977e80cb Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 29 May 2008 17:50:09 +0000 Subject: [PATCH] (bug 14324) Creating an account is again possible with set to true --- RELEASE-NOTES | 2 ++ includes/Title.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f516f7f35d..9355d36c18 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -311,6 +311,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ and I to ı * (bug 13826) MediaWiki:Defaultns accepts Wikicode +* (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit + set to true === API changes in 1.13 === diff --git a/includes/Title.php b/includes/Title.php index 4ddd57da6d..f7116cc445 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1058,7 +1058,7 @@ class Title { global $wgLang; global $wgEmailConfirmToEdit; - if ( $wgEmailConfirmToEdit && !$user->isEmailConfirmed() ) { + if ( $wgEmailConfirmToEdit && !$user->isEmailConfirmed() && $action != 'createaccount' ) { $errors[] = array( 'confirmedittext' ); } -- 2.20.1