Plugin Directory

Changeset 2509913


Ignore:
Timestamp:
04/06/2021 09:23:32 AM (5 years ago)
Author:
2fas
Message:

Release v3.1.1

Location:
2fas-light/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • 2fas-light/trunk/assets/view/includes/backup_codes_tutorial.html.twig

    r2505828 r2509913  
    1414            <div class="twofas-backup-codes-box-tutorial-content-step-content">
    1515                <img src="{{ twofas_light_plugin_path ~ 'assets/img/mobile-phone.svg' }}" alt="{{ esc_attr__('Type a backup code', '2fas-light') }}" />
    16                 <p>{{ esc_html__("Type the code during logging in when you're asked to use the 2FAS application token.", '2fas-light') }}</p>
     16                <p>{{ esc_html__("Type the code during logging in when you're asked to use the 2FAS application token.", '2fas-light')|raw }}</p>
    1717            </div>
    1818        </div>
  • 2fas-light/trunk/changelog.txt

    r2505828 r2509913  
    11== Changelog ==
     2
     3= 3.1.1 (Apr. 6, 2021) =
     4* Fixed path in checking conflicted plugins
     5* Fixed typo in text
    26
    37= 3.1 (Mar. 30, 2021) =
  • 2fas-light/trunk/check.php

    r2505828 r2509913  
    4444}
    4545
    46 if( $conflicted_plugins = twofas_light_get_conflicted_plugins()) {
     46if( TWOFAS_LIGHT_CHECK_CONFLICTED_PLUGINS && $conflicted_plugins = twofas_light_get_conflicted_plugins()) {
    4747    $issues[] = sprintf(
    4848        __("2FAS Prime plugin doesn't work properly with the following plugins: <strong>%s</strong>.", '2fas-light' ),
     
    5454    if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
    5555        if ( ! ini_get( 'display_errors' ) ) {
    56             fwrite(STDERR, '2FAS Light detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
     56            fwrite(STDERR, '2FAS Prime detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
    5757        }
    5858    } else {
     
    101101
    102102    return array_reduce($paths, function ($result, $path) {
    103         if (preg_match ('~[a-zA-Z0-9_-]+(?=/vendor)~', $path, $matches) && !in_array($matches[0], $result))
     103        if (preg_match ('~[a-zA-Z0-9_-]+(?=/includes/vendor|/vendor)~', $path, $matches) && !in_array($matches[0], $result))
    104104            $result[] = $matches[0];
    105105       
     
    121121    return '
    122122        <div class="error notice twofas-light-error-message">
    123             <p><strong>2FAS Light plugin requirements error</strong></p>
     123            <p><strong>2FAS Prime plugin requirements error</strong></p>
    124124            <ul class="twofas-light-error-list">
    125125                ' . $messages . '
     
    127127            <p>
    128128                Plugin functionality cannot be enabled until this problem is solved.
    129                 Please ask your hosting provider to support 2FAS Light plugin\'s requirements.
     129                Please ask your hosting provider to support 2FAS Prime plugin\'s requirements.
    130130            </p>
    131131        </div>
  • 2fas-light/trunk/constants.php

    r2505828 r2509913  
    1515define( 'TWOFAS_LIGHT_TEMPLATES_PATH', $templates_path );
    1616define( 'TWOFAS_LIGHT_WP_ADMIN_PATH', $admin_url );
    17 define( 'TWOFAS_LIGHT_PLUGIN_VERSION', '3.1' );
     17define( 'TWOFAS_LIGHT_PLUGIN_VERSION', '3.1.1' );
    1818define( 'TWOFAS_LIGHT_WP_MINIMUM_VERSION', '5.0' );
     19if ( ! defined( 'TWOFAS_LIGHT_CHECK_CONFLICTED_PLUGINS' ) ) {
     20    define( 'TWOFAS_LIGHT_CHECK_CONFLICTED_PLUGINS', true );
     21}
  • 2fas-light/trunk/readme.txt

    r2505828 r2509913  
    100100== Changelog ==
    101101
     102= 3.1.1 (Apr. 6, 2021) =
     103* Fixed path in checking conflicted plugins
     104* Fixed typo in text
     105
    102106= 3.1 (Mar. 30, 2021) =
    103107* Minor frontend changes
  • 2fas-light/trunk/twofas_light.php

    r2505828 r2509913  
    44 * Plugin URI:        https://wordpress.org/plugins/2fas-light/
    55 * Description:       Free, simple and secure token-based authentication for your WordPress. No registration required.
    6  * Version:           3.1
     6 * Version:           3.1.1
    77 * Requires PHP:      7.0
    88 * Requires at least: 5.0
  • 2fas-light/trunk/vendor/composer/InstalledVersions.php

    r2505828 r2509913  
    2020    array (
    2121    ),
    22     'reference' => 'fadd3ee7d03d16d731cc929b22c9db908e74c07d',
     22    'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e',
    2323    'name' => 'twofas/wp-plugin-secure',
    2424  ),
     
    201201      array (
    202202      ),
    203       'reference' => 'fadd3ee7d03d16d731cc929b22c9db908e74c07d',
     203      'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e',
    204204    ),
    205205    'whichbrowser/parser' =>
  • 2fas-light/trunk/vendor/composer/installed.php

    r2505828 r2509913  
    77    array (
    88    ),
    9     'reference' => 'fadd3ee7d03d16d731cc929b22c9db908e74c07d',
     9    'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e',
    1010    'name' => 'twofas/wp-plugin-secure',
    1111  ),
     
    188188      array (
    189189      ),
    190       'reference' => 'fadd3ee7d03d16d731cc929b22c9db908e74c07d',
     190      'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e',
    191191    ),
    192192    'whichbrowser/parser' =>
Note: See TracChangeset for help on using the changeset viewer.