PluginProbe
Easy Basic Authentication – Add basic auth to site or admin area / 1.9.1
Easy Basic Authentication – Add basic auth to site or admin area v1.9.1
trunk 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.7 1.7.1 1.8 1.8.1 1.9 All 50 releases
← All changes | class/easy-basic-authentication-log-class.php +0 -5 trunk1.9.1 View file →
@@ -28,12 +28,8 @@
28 28 $logs[] = $log_entry;
29 29
30 30 $logs = apply_filters('basic_auth_logs_entry', $logs);
31 31
32 - if (count($logs) > 500) {
33 - $logs = array_slice($logs, -500);
34 - }
35 -
36 32 update_option('basic_auth_failure_logs', $logs);
37 33 }
38 34
39 35 public function getMenu() {
@@ -68,9 +64,8 @@
68 64 }
69 65
70 66 public function basic_auth_login_page() {
71 67 if(array_key_exists('clear_mode',$_POST)) {
72 - check_admin_referer('eba_clear_logs', 'eba_clear_nonce');
73 68 update_option('basic_auth_failure_logs', array());
74 69 }
75 70 $user_log_data = array_reverse($this->basic_auth_get_log_failed_access());
76 71 include plugin_dir_path( __FILE__ ) . '../template/log_page.php';