' .
@@ -58,7 +58,7 @@ class OptionsPage
} else {
$ips .= '' . date('d.m.Y', $blockedUntil) . ' ' . date('H:i', $blockedUntil) . ' Uhr | ' .
'
- ' . __('Release ip address', BDP_LV_PLUGIN_SLUG) . '
' . __('Add ip address to blocklist', BDP_LV_PLUGIN_SLUG) . '
@@ -72,7 +72,7 @@ class OptionsPage
public function limit_login_option_page() {
global $errors;
-
+ bdp_kompass_load_plugin_textdomain();
$showMessage = null;
if (isset($_POST['update_options'])) {
@@ -109,6 +109,7 @@ class OptionsPage
$tab = 'tab3';
}
}
+ bdp_kompass_load_plugin_textdomain();
?>
diff --git a/modules/LimitLoginAttempts/includes/gui_elements.php b/modules/LimitLoginAttempts/includes/gui_elements.php
index 24d9a35..39ccedd 100644
--- a/modules/LimitLoginAttempts/includes/gui_elements.php
+++ b/modules/LimitLoginAttempts/includes/gui_elements.php
@@ -26,6 +26,8 @@ function _kompass_limit_logins_settings_checkbox_callback(array $args) {
kompass_print_checkbox($args['setting']);
}
+
+bdp_kompass_load_plugin_textdomain();
add_settings_section(
'custom_settings_section',
__('Options', BDP_LV_PLUGIN_SLUG),
diff --git a/modules/security/classes/Security.class.php b/modules/security/classes/Security.class.php
index c4973dc..a44806f 100644
--- a/modules/security/classes/Security.class.php
+++ b/modules/security/classes/Security.class.php
@@ -104,7 +104,10 @@ class Security
}
if ( str_contains( $_SERVER['REQUEST_URI'], $hideLogin ) !== false ) {
- $user_login = '';
+ $user_login = '';
+ if (!isset($error)) {
+ $error = '';
+ }
$_REQUEST['redirect_to'] = 'interner-bereich';
require_once 'wp-login.php';
die();
|