PluginProbe ʕ •ᴥ•ʔ
Limit Login Attempts Security – Login Security, 2FA, Firewall, Brute Force Prevention / 3.2.4
Limit Login Attempts Security – Login Security, 2FA, Firewall, Brute Force Prevention v3.2.4
3.3.1 3.3.0 3.2.4 3.2.3 3.2.2 3.2.1 3.2.0 trunk 2.0.0 2.1.0 2.10.0 2.10.1 2.11.0 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.14.0 2.15.0 2.15.1 2.15.2 2.16.0 2.17.0 2.17.1 2.17.2 2.17.3 2.17.4 2.18.0 2.19.0 2.19.1 2.19.2 2.2.0 2.20.0 2.20.1 2.20.2 2.20.3 2.20.4 2.20.5 2.20.6 2.21.0 2.21.1 2.22.0 2.22.1 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.25.0 2.25.1 2.25.10 2.25.11 2.25.12 2.25.13 2.25.14 2.25.15 2.25.16 2.25.17 2.25.18 2.25.19 2.25.2 2.25.20 2.25.21 2.25.22 2.25.23 2.25.24 2.25.25 2.25.26 2.25.27 2.25.28 2.25.29 2.25.3 2.25.4 2.25.5 2.25.6 2.25.7 2.25.8 2.25.9 2.26.0 2.26.1 2.26.10 2.26.11 2.26.12 2.26.13 2.26.14 2.26.15 2.26.16 2.26.17 2.26.18 2.26.19 2.26.2 2.26.20 2.26.21 2.26.22 2.26.23 2.26.24 2.26.25 2.26.26 2.26.27 2.26.28 2.26.3 2.26.4 2.26.5 2.26.6 2.26.7 2.26.8 2.26.9 2.3.0 2.4.0 2.5.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.8.0 2.8.1 2.9.0 3.0.0 3.0.1 3.0.2 3.1.0
limit-login-attempts-reloaded / autoload.php
limit-login-attempts-reloaded Last commit date
assets 1 month ago core 1 month ago languages 1 month ago lib 1 month ago resources 1 month ago views 1 month ago autoload.php 1 month ago changelog.txt 1 month ago limit-login-attempts-reloaded.php 1 month ago readme.txt 1 month ago
autoload.php
34 lines
1 <?php
2 if( !defined( 'ABSPATH' ) ) exit;
3
4 spl_autoload_register(function($class) {
5
6 $namespace = 'LLAR\\';
7
8 $len = strlen( $namespace );
9 if (strncmp( $namespace, $class, $len) !== 0) {
10 return;
11 }
12
13 $mfa_flow_prefix = 'LLAR\\Core\\MfaFlow\\';
14 $mfa_flow_len = strlen( $mfa_flow_prefix );
15 if ( strncmp( $mfa_flow_prefix, $class, $mfa_flow_len ) === 0 ) {
16 $class_name = substr( $class, $mfa_flow_len );
17 $class_name = str_replace( '\\', '/', $class_name );
18 $file = LLA_PLUGIN_DIR . 'core/mfa-flow/' . $class_name . '.php';
19 if ( file_exists( $file ) ) {
20 require $file;
21 return;
22 }
23 }
24
25 $relative_class = str_replace('\\', '/', substr( $class, $len ) );
26 $relative_class = explode( '/', $relative_class );
27 $class_name = array_pop( $relative_class );
28 $relative_class = implode( '/', $relative_class );
29 $file = LLA_PLUGIN_DIR . strtolower( $relative_class ) . '/' . $class_name . '.php';
30
31 if ( file_exists( $file ) ) {
32 require $file;
33 }
34 });