Changeset 2509913
- Timestamp:
- 04/06/2021 09:23:32 AM (5 years ago)
- Location:
- 2fas-light/trunk
- Files:
-
- 8 edited
-
assets/view/includes/backup_codes_tutorial.html.twig (modified) (1 diff)
-
changelog.txt (modified) (1 diff)
-
check.php (modified) (5 diffs)
-
constants.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
twofas_light.php (modified) (1 diff)
-
vendor/composer/InstalledVersions.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
2fas-light/trunk/assets/view/includes/backup_codes_tutorial.html.twig
r2505828 r2509913 14 14 <div class="twofas-backup-codes-box-tutorial-content-step-content"> 15 15 <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> 17 17 </div> 18 18 </div> -
2fas-light/trunk/changelog.txt
r2505828 r2509913 1 1 == Changelog == 2 3 = 3.1.1 (Apr. 6, 2021) = 4 * Fixed path in checking conflicted plugins 5 * Fixed typo in text 2 6 3 7 = 3.1 (Mar. 30, 2021) = -
2fas-light/trunk/check.php
r2505828 r2509913 44 44 } 45 45 46 if( $conflicted_plugins = twofas_light_get_conflicted_plugins()) {46 if( TWOFAS_LIGHT_CHECK_CONFLICTED_PLUGINS && $conflicted_plugins = twofas_light_get_conflicted_plugins()) { 47 47 $issues[] = sprintf( 48 48 __("2FAS Prime plugin doesn't work properly with the following plugins: <strong>%s</strong>.", '2fas-light' ), … … 54 54 if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { 55 55 if ( ! ini_get( 'display_errors' ) ) { 56 fwrite(STDERR, '2FAS Lightdetected 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); 57 57 } 58 58 } else { … … 101 101 102 102 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)) 104 104 $result[] = $matches[0]; 105 105 … … 121 121 return ' 122 122 <div class="error notice twofas-light-error-message"> 123 <p><strong>2FAS Lightplugin requirements error</strong></p>123 <p><strong>2FAS Prime plugin requirements error</strong></p> 124 124 <ul class="twofas-light-error-list"> 125 125 ' . $messages . ' … … 127 127 <p> 128 128 Plugin functionality cannot be enabled until this problem is solved. 129 Please ask your hosting provider to support 2FAS Lightplugin\'s requirements.129 Please ask your hosting provider to support 2FAS Prime plugin\'s requirements. 130 130 </p> 131 131 </div> -
2fas-light/trunk/constants.php
r2505828 r2509913 15 15 define( 'TWOFAS_LIGHT_TEMPLATES_PATH', $templates_path ); 16 16 define( 'TWOFAS_LIGHT_WP_ADMIN_PATH', $admin_url ); 17 define( 'TWOFAS_LIGHT_PLUGIN_VERSION', '3.1 ' );17 define( 'TWOFAS_LIGHT_PLUGIN_VERSION', '3.1.1' ); 18 18 define( 'TWOFAS_LIGHT_WP_MINIMUM_VERSION', '5.0' ); 19 if ( ! defined( 'TWOFAS_LIGHT_CHECK_CONFLICTED_PLUGINS' ) ) { 20 define( 'TWOFAS_LIGHT_CHECK_CONFLICTED_PLUGINS', true ); 21 } -
2fas-light/trunk/readme.txt
r2505828 r2509913 100 100 == Changelog == 101 101 102 = 3.1.1 (Apr. 6, 2021) = 103 * Fixed path in checking conflicted plugins 104 * Fixed typo in text 105 102 106 = 3.1 (Mar. 30, 2021) = 103 107 * Minor frontend changes -
2fas-light/trunk/twofas_light.php
r2505828 r2509913 4 4 * Plugin URI: https://wordpress.org/plugins/2fas-light/ 5 5 * Description: Free, simple and secure token-based authentication for your WordPress. No registration required. 6 * Version: 3.1 6 * Version: 3.1.1 7 7 * Requires PHP: 7.0 8 8 * Requires at least: 5.0 -
2fas-light/trunk/vendor/composer/InstalledVersions.php
r2505828 r2509913 20 20 array ( 21 21 ), 22 'reference' => ' fadd3ee7d03d16d731cc929b22c9db908e74c07d',22 'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e', 23 23 'name' => 'twofas/wp-plugin-secure', 24 24 ), … … 201 201 array ( 202 202 ), 203 'reference' => ' fadd3ee7d03d16d731cc929b22c9db908e74c07d',203 'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e', 204 204 ), 205 205 'whichbrowser/parser' => -
2fas-light/trunk/vendor/composer/installed.php
r2505828 r2509913 7 7 array ( 8 8 ), 9 'reference' => ' fadd3ee7d03d16d731cc929b22c9db908e74c07d',9 'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e', 10 10 'name' => 'twofas/wp-plugin-secure', 11 11 ), … … 188 188 array ( 189 189 ), 190 'reference' => ' fadd3ee7d03d16d731cc929b22c9db908e74c07d',190 'reference' => 'cf8383f667d3c80d9a0f3eb27eb80110cd1e550e', 191 191 ), 192 192 'whichbrowser/parser' =>
Note: See TracChangeset
for help on using the changeset viewer.