Plugin Directory

Changeset 3098784


Ignore:
Timestamp:
06/06/2024 03:18:30 PM (21 months ago)
Author:
wfryan
Message:

1.1.12 - June 6, 2024

  • Change: Revised the formatting of TOTP app URLs to prioritize the site's own URL for better sorting and display
  • Fix: Fixed the last captcha column in the users page so it no longer displays "(not required)" on 2FA users since that no longer applies
Location:
wordfence-login-security
Files:
42 added
42 deleted
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wordfence-login-security/tags/1.1.12/classes/controller/users.php

    r3063866 r3098784  
    561561            case 'wfls_last_captcha':
    562562                $user = new \WP_User($user_id);
    563                 if (Controller_Users::shared()->can_activate_2fa($user) && Controller_Users::shared()->has_2fa_active($user)) {
    564                     $value = __('(not required)', 'wordfence-login-security');
    565                 }
    566                 else {
    567                     $value = '-';
    568                     if (($last = get_user_meta($user_id, 'wfls-last-captcha-score', true))) {
    569                         $value = number_format($last, 1);
    570                     }
     563                $value = '-';
     564                if (($last = get_user_meta($user_id, 'wfls-last-captcha-score', true))) {
     565                    $value = number_format($last, 1);
    571566                }
    572567                break;
  • wordfence-login-security/tags/1.1.12/classes/model/2fainitializationdata.php

    r2865297 r3098784  
    3131
    3232    private function generate_otp_url() {
    33         return "otpauth://totp/" . rawurlencode(preg_replace('~^https?://~i', '', home_url()) . ' (' . $this->user->user_login . ')') . '?secret=' . $this->get_base32_secret() . '&algorithm=SHA1&digits=6&period=30&issuer=Wordfence';
     33        return "otpauth://totp/" . rawurlencode(preg_replace('~^https?://(?:www\.)?~i', '', home_url()) . ':' . $this->user->user_login) . '?secret=' . $this->get_base32_secret() . '&algorithm=SHA1&digits=6&period=30&issuer=' . rawurlencode(preg_replace('~^https?://(?:www\.)?~i', '', home_url()));
    3434    }
    3535
  • wordfence-login-security/tags/1.1.12/languages/wordfence-login-security.pot

    r3063866 r3098784  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Wordfence Login Security 1.1.11\n"
    6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip-eZqOVC21Q\n"
     5"Project-Id-Version: Wordfence Login Security 1.1.12\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip-V4phf6rXp\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    88"Language-Team: LANGUAGE <LL@li.org>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-04-03T15:14:29+00:00\n"
     12"POT-Creation-Date: 2024-06-06T15:13:00+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.7.1\n"
     
    304304msgstr ""
    305305
    306 #: classes/controller/users.php:564
    307 msgid "(not required)"
    308 msgstr ""
    309 
    310 #: classes/controller/users.php:658
     306#: classes/controller/users.php:653
    311307msgid "Edit two-factor authentication for %s"
    312308msgstr ""
    313309
    314 #: classes/controller/users.php:658
     310#: classes/controller/users.php:653
    315311#: views/settings/options.php:9
    316312msgid "2FA"
    317313msgstr ""
    318314
    319 #: classes/controller/users.php:669
     315#: classes/controller/users.php:664
    320316#: views/settings/user-stats.php:25
    321317msgid "2FA Active"
    322318msgstr ""
    323319
    324 #: classes/controller/users.php:670
     320#: classes/controller/users.php:665
    325321#: views/settings/user-stats.php:26
    326322msgid "2FA Inactive"
  • wordfence-login-security/tags/1.1.12/readme.txt

    r3063878 r3098784  
    55Requires PHP: 5.5
    66Tested up to: 6.5
    7 Stable tag: 1.1.11
     7Stable tag: 1.1.12
    88
    99Secure your website with Wordfence Login Security, providing two-factor authentication, login and registration CAPTCHA, and XML-RPC protection.
     
    5858
    5959== Changelog ==
     60
     61= 1.1.12 - June 6, 2024 =
     62* Change: Revised the formatting of TOTP app URLs to prioritize the site's own URL for better sorting and display
     63* Fix: Fixed the last captcha column in the users page so it no longer displays "(not required)" on 2FA users since that no longer applies
    6064
    6165= 1.1.11 - April 3, 2024 =
  • wordfence-login-security/tags/1.1.12/wordfence-login-security.php

    r3063866 r3098784  
    55Author: Wordfence
    66Author URI: https://www.wordfence.com/
    7 Version: 1.1.11
     7Version: 1.1.12
    88Network: true
    99Requires at least: 4.5
     
    3939    define('WORDFENCE_LS_FROM_CORE', ($wfCoreActive && isset($wfCoreLoading) && $wfCoreLoading));
    4040   
    41     define('WORDFENCE_LS_VERSION', '1.1.11');
    42     define('WORDFENCE_LS_BUILD_NUMBER', '1712157269');
     41    define('WORDFENCE_LS_VERSION', '1.1.12');
     42    define('WORDFENCE_LS_BUILD_NUMBER', '1717686780');
    4343
    4444    define('WORDFENCE_LS_PLUGIN_BASENAME', plugin_basename(__FILE__));
  • wordfence-login-security/trunk/classes/controller/users.php

    r3063866 r3098784  
    561561            case 'wfls_last_captcha':
    562562                $user = new \WP_User($user_id);
    563                 if (Controller_Users::shared()->can_activate_2fa($user) && Controller_Users::shared()->has_2fa_active($user)) {
    564                     $value = __('(not required)', 'wordfence-login-security');
    565                 }
    566                 else {
    567                     $value = '-';
    568                     if (($last = get_user_meta($user_id, 'wfls-last-captcha-score', true))) {
    569                         $value = number_format($last, 1);
    570                     }
     563                $value = '-';
     564                if (($last = get_user_meta($user_id, 'wfls-last-captcha-score', true))) {
     565                    $value = number_format($last, 1);
    571566                }
    572567                break;
  • wordfence-login-security/trunk/classes/model/2fainitializationdata.php

    r2865297 r3098784  
    3131
    3232    private function generate_otp_url() {
    33         return "otpauth://totp/" . rawurlencode(preg_replace('~^https?://~i', '', home_url()) . ' (' . $this->user->user_login . ')') . '?secret=' . $this->get_base32_secret() . '&algorithm=SHA1&digits=6&period=30&issuer=Wordfence';
     33        return "otpauth://totp/" . rawurlencode(preg_replace('~^https?://(?:www\.)?~i', '', home_url()) . ':' . $this->user->user_login) . '?secret=' . $this->get_base32_secret() . '&algorithm=SHA1&digits=6&period=30&issuer=' . rawurlencode(preg_replace('~^https?://(?:www\.)?~i', '', home_url()));
    3434    }
    3535
  • wordfence-login-security/trunk/languages/wordfence-login-security.pot

    r3063866 r3098784  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Wordfence Login Security 1.1.11\n"
    6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip-eZqOVC21Q\n"
     5"Project-Id-Version: Wordfence Login Security 1.1.12\n"
     6"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip-V4phf6rXp\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    88"Language-Team: LANGUAGE <LL@li.org>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-04-03T15:14:29+00:00\n"
     12"POT-Creation-Date: 2024-06-06T15:13:00+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.7.1\n"
     
    304304msgstr ""
    305305
    306 #: classes/controller/users.php:564
    307 msgid "(not required)"
    308 msgstr ""
    309 
    310 #: classes/controller/users.php:658
     306#: classes/controller/users.php:653
    311307msgid "Edit two-factor authentication for %s"
    312308msgstr ""
    313309
    314 #: classes/controller/users.php:658
     310#: classes/controller/users.php:653
    315311#: views/settings/options.php:9
    316312msgid "2FA"
    317313msgstr ""
    318314
    319 #: classes/controller/users.php:669
     315#: classes/controller/users.php:664
    320316#: views/settings/user-stats.php:25
    321317msgid "2FA Active"
    322318msgstr ""
    323319
    324 #: classes/controller/users.php:670
     320#: classes/controller/users.php:665
    325321#: views/settings/user-stats.php:26
    326322msgid "2FA Inactive"
  • wordfence-login-security/trunk/readme.txt

    r3063878 r3098784  
    5858
    5959== Changelog ==
     60
     61= 1.1.12 - June 6, 2024 =
     62* Change: Revised the formatting of TOTP app URLs to prioritize the site's own URL for better sorting and display
     63* Fix: Fixed the last captcha column in the users page so it no longer displays "(not required)" on 2FA users since that no longer applies
    6064
    6165= 1.1.11 - April 3, 2024 =
  • wordfence-login-security/trunk/wordfence-login-security.php

    r3063866 r3098784  
    55Author: Wordfence
    66Author URI: https://www.wordfence.com/
    7 Version: 1.1.11
     7Version: 1.1.12
    88Network: true
    99Requires at least: 4.5
     
    3939    define('WORDFENCE_LS_FROM_CORE', ($wfCoreActive && isset($wfCoreLoading) && $wfCoreLoading));
    4040   
    41     define('WORDFENCE_LS_VERSION', '1.1.11');
    42     define('WORDFENCE_LS_BUILD_NUMBER', '1712157269');
     41    define('WORDFENCE_LS_VERSION', '1.1.12');
     42    define('WORDFENCE_LS_BUILD_NUMBER', '1717686780');
    4343
    4444    define('WORDFENCE_LS_PLUGIN_BASENAME', plugin_basename(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.