Changeset 1337352
- Timestamp:
- 01/27/2016 05:13:06 PM (10 years ago)
- Location:
- login-security-solution/trunk
- Files:
-
- 22 edited
-
admin.php (modified) (1 diff)
-
languages/login-security-solution-de_DE.mo (modified) (previous)
-
languages/login-security-solution-de_DE.po (modified) (1 diff)
-
languages/login-security-solution-fi_FI.mo (modified) (previous)
-
languages/login-security-solution-fi_FI.po (modified) (1 diff)
-
languages/login-security-solution-fr_FR.mo (modified) (previous)
-
languages/login-security-solution-fr_FR.po (modified) (1 diff)
-
languages/login-security-solution-it_IT.mo (modified) (previous)
-
languages/login-security-solution-it_IT.po (modified) (1 diff)
-
languages/login-security-solution-ja.mo (modified) (previous)
-
languages/login-security-solution-ja.po (modified) (1 diff)
-
languages/login-security-solution-nl_NL.mo (modified) (previous)
-
languages/login-security-solution-nl_NL.po (modified) (1 diff)
-
languages/login-security-solution-pl_PL.mo (modified) (previous)
-
languages/login-security-solution-pl_PL.po (modified) (1 diff)
-
languages/login-security-solution-pt_BR.mo (modified) (previous)
-
languages/login-security-solution-pt_BR.po (modified) (1 diff)
-
languages/login-security-solution.pot (modified) (1 diff)
-
login-security-solution.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
tests/LoginMessageTest.php (modified) (1 diff)
-
tests/TestCase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
login-security-solution/trunk/admin.php
r1253039 r1337352 189 189 190 190 if ($this->options['pw_reuse_count']) { 191 $sql = "SELECT ID, user_pass FROM `$wpdb->users`"; 192 $result = $wpdb->get_results($sql, ARRAY_A); 193 if (!$result) { 194 die(self::ID . ' could not find users.'); 195 } 196 197 foreach ($result as $user) { 198 if (!$this->save_pw_hash($user['ID'], $user['user_pass'])) { 199 die(self::ID . ' could not save password hash.'); 191 $i = 0; 192 193 while (true) { 194 $sql = "SELECT ID, user_pass FROM `$wpdb->users` 195 LIMIT $i, 1000"; 196 197 $result = $wpdb->get_results($sql, ARRAY_A); 198 if (!$result) { 199 if ($i == 0) { 200 die(self::ID . ' could not find users.'); 201 } else { 202 break; 203 } 200 204 } 205 206 foreach ($result as $user) { 207 if (!$this->save_pw_hash($user['ID'], $user['user_pass'])) { 208 die(self::ID . ' could not save password hash.'); 209 } 210 } 211 212 $i += 1000; 201 213 } 202 214 } -
login-security-solution/trunk/languages/login-security-solution-de_DE.po
r1253039 r1337352 562 562 563 563 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 564 msgid "Your password has expired. Please log and change it."564 msgid "Your password has expired. Please log in and change it." 565 565 msgstr "" 566 566 "Dein Passwort ist abgelaufen. Bitte logge dich ein und wähle ein neues." -
login-security-solution/trunk/languages/login-security-solution-fi_FI.po
r1253039 r1337352 526 526 527 527 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 528 msgid "Your password has expired. Please log and change it."528 msgid "Your password has expired. Please log in and change it." 529 529 msgstr "Salasanasi on vanhentunut. Ole hyvä ja vaihda se." 530 530 -
login-security-solution/trunk/languages/login-security-solution-fr_FR.po
r1253039 r1337352 573 573 # @ login-security-solution 574 574 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 575 msgid "Your password has expired. Please log and change it."575 msgid "Your password has expired. Please log in and change it." 576 576 msgstr "Votre mot de passe a expiré. Veuillez vous connecter et le changer." 577 577 -
login-security-solution/trunk/languages/login-security-solution-it_IT.po
r1253039 r1337352 547 547 548 548 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 549 msgid "Your password has expired. Please log and change it."549 msgid "Your password has expired. Please log in and change it." 550 550 msgstr "La tua password è scaduta. Per favore accedi e cambiala." 551 551 -
login-security-solution/trunk/languages/login-security-solution-ja.po
r1253039 r1337352 540 540 541 541 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 542 msgid "Your password has expired. Please log and change it."542 msgid "Your password has expired. Please log in and change it." 543 543 msgstr "" 544 544 "あなたのパスワードが失効しました。ログインして、パスワード変更してください。" -
login-security-solution/trunk/languages/login-security-solution-nl_NL.po
r1253039 r1337352 548 548 549 549 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 550 msgid "Your password has expired. Please log and change it."550 msgid "Your password has expired. Please log in and change it." 551 551 msgstr "Je wachtwoord is verlopen. Log in om het te veranderen." 552 552 -
login-security-solution/trunk/languages/login-security-solution-pl_PL.po
r1253039 r1337352 554 554 555 555 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 556 msgid "Your password has expired. Please log and change it."556 msgid "Your password has expired. Please log in and change it." 557 557 msgstr "Twoje hasło wygasło. Zaloguj się proszę i zmień je." 558 558 -
login-security-solution/trunk/languages/login-security-solution-pt_BR.po
r1253039 r1337352 567 567 568 568 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 569 msgid "Your password has expired. Please log and change it."569 msgid "Your password has expired. Please log in and change it." 570 570 msgstr "Sua senha expirou. Por favor, efetue login para alterar." 571 571 -
login-security-solution/trunk/languages/login-security-solution.pot
r1253039 r1337352 465 465 466 466 #: login-security-solution.php:697 tests/LoginMessageTest.php:104 467 msgid "Your password has expired. Please log and change it."467 msgid "Your password has expired. Please log in and change it." 468 468 msgstr "" 469 469 -
login-security-solution/trunk/login-security-solution.php
r1253039 r1337352 7 7 * 8 8 * Plugin URI: https://wordpress.org/plugins/login-security-solution/ 9 * Version: 0.5 3.09 * Version: 0.54.0 10 10 * (Remember to change the VERSION constant, below, as well!) 11 11 * Author: Daniel Convissor … … 46 46 * This plugin's version 47 47 */ 48 const VERSION = '0.5 3.0';48 const VERSION = '0.54.0'; 49 49 50 50 /** … … 695 695 break; 696 696 case 'pw_grace': 697 $ours = __('Your password has expired. Please log and change it.', 'login-security-solution');697 $ours = __('Your password has expired. Please log in and change it.', 'login-security-solution'); 698 698 $ours .= ' ' . sprintf(__('We provide a %d minute grace period to do so.', 'login-security-solution'), $this->options['pw_change_grace_period_minutes']); 699 699 break; -
login-security-solution/trunk/readme.txt
r1253039 r1337352 4 4 Tags: login, password, passwords, strength, strong, strong passwords, password strength, idle, timeout, maintenance, security, attack, hack, lock, lockdown, ban, brute force, brute, force, authentication, xml-rpc, auth, cookie, users 5 5 Requires at least: 3.3 6 Tested up to: 4. 26 Tested up to: 4.4 7 7 Stable tag: trunk 8 8 … … 512 512 513 513 == Changelog == 514 515 = 0.54.0 (2016-01-27) = 516 * Fix memory exhaustion on sites with many users during plugin activation 517 if password history is enabled 518 * Put "in" in "Please log and change it" 514 519 515 520 = 0.53.0 (2015-09-25) = -
login-security-solution/trunk/tests/LoginMessageTest.php
r923776 r1337352 102 102 self::$lss->options = $options; 103 103 104 $ours = __('Your password has expired. Please log and change it.', self::ID);104 $ours = __('Your password has expired. Please log in and change it.', self::ID); 105 105 $ours .= ' ' . sprintf(__('We provide a %d minute grace period to do so.', self::ID), $value); 106 106 -
login-security-solution/trunk/tests/TestCase.php
r923776 r1337352 78 78 */ 79 79 require_once dirname(__FILE__) . '/Accessor.php'; 80 81 /**82 * Obtain the PHPUnit infrastructure83 */84 require_once 'PHPUnit/Autoload.php';85 80 86 81 /**
Note: See TracChangeset
for help on using the changeset viewer.