← All changes
|
includes/widgets/Login_Register_Form/Security_Manager.php
+3
-3
51.1.64
→
51.1.83
View file →
| @@ -58,9 +58,9 @@ | ||
| 58 | 58 | $attempts++; |
| 59 | 59 | set_transient($transient_key, $attempts, self::LOCKOUT_DURATION); |
| 60 | 60 | |
| 61 | 61 | // Log security event |
| 62 | - error_log("King Addons Security: Failed {$action} attempt #{$attempts} from IP {$ip_address}"); | |
| 62 | + // error_log("King Addons Security: Failed {$action} attempt #{$attempts} from IP {$ip_address}"); | |
| 63 | 63 | |
| 64 | 64 | return $attempts; |
| 65 | 65 | } |
| 66 | 66 | |
| @@ -192,9 +192,9 @@ | ||
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | // Validate email domain for additional security |
| 195 | 195 | if (!empty($sanitized['email']) && !self::is_safe_email_domain($sanitized['email'])) { |
| 196 | - error_log("King Addons Security: Suspicious email domain from {$provider}: {$sanitized['email']}"); | |
| 196 | + // error_log("King Addons Security: Suspicious email domain from {$provider}: {$sanitized['email']}"); | |
| 197 | 197 | } |
| 198 | 198 | |
| 199 | 199 | return $sanitized; |
| 200 | 200 | } |
| @@ -221,9 +221,9 @@ | ||
| 221 | 221 | ]); |
| 222 | 222 | |
| 223 | 223 | foreach ($suspicious_patterns as $pattern) { |
| 224 | 224 | if (preg_match($pattern, $text_to_check)) { |
| 225 | - error_log("King Addons Security: Suspicious registration pattern detected: {$pattern}"); | |
| 225 | + // error_log("King Addons Security: Suspicious registration pattern detected: {$pattern}"); | |
| 226 | 226 | return true; |
| 227 | 227 | } |
| 228 | 228 | } |
| 229 | 229 | |