rebase from live enviornment
This commit is contained in:
+4
@@ -341,6 +341,10 @@ END
|
||||
'Send' => __('Send', 'wordfence'),
|
||||
'An error was encountered while trying to send the message. Please try again.' => __('An error was encountered while trying to send the message. Please try again.', 'wordfence'),
|
||||
'<strong>ERROR</strong>: An error was encountered while trying to send the message. Please try again.' => wp_kses(__('<strong>ERROR</strong>: An error was encountered while trying to send the message. Please try again.', 'wordfence'), array('strong' => array())),
|
||||
'Login failed with status code 403. Please contact the site administrator.' => __('Login failed with status code 403. Please contact the site administrator.', 'wordfence'),
|
||||
'<strong>ERROR</strong>: Login failed with status code 403. Please contact the site administrator.' => wp_kses(__('<strong>ERROR</strong>: Login failed with status code 403. Please contact the site administrator.', 'wordfence'), array('strong' => array())),
|
||||
'Login failed with status code 503. Please contact the site administrator.' => __('Login failed with status code 503. Please contact the site administrator.', 'wordfence'),
|
||||
'<strong>ERROR</strong>: Login failed with status code 503. Please contact the site administrator.' => wp_kses(__('<strong>ERROR</strong>: Login failed with status code 503. Please contact the site administrator.', 'wordfence'), array('strong' => array())),
|
||||
'Wordfence 2FA Code' => __('Wordfence 2FA Code', 'wordfence'),
|
||||
'Remember for 30 days' => __('Remember for 30 days', 'wordfence'),
|
||||
'Log In' => __('Log In', 'wordfence'),
|
||||
|
||||
+13
-1
@@ -423,7 +423,19 @@
|
||||
},
|
||||
error: function(err) {
|
||||
if (err.status == 503 || err.status == 403) {
|
||||
window.location.reload(true);
|
||||
if ($('.woocommerce').length > 0) {
|
||||
if (err.status == 503) {
|
||||
showLoginMessage(__('<strong>ERROR</strong>: Login failed with status code 503. Please contact the site administrator.'), 'error');
|
||||
}
|
||||
else if (err.status == 403) {
|
||||
showLoginMessage(__('<strong>ERROR</strong>: Login failed with status code 403. Please contact the site administrator.'), 'error');
|
||||
}
|
||||
blocker.unblock();
|
||||
}
|
||||
else {
|
||||
window.location.reload(true);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
showLoginMessage(__('<strong>ERROR</strong>: An error was encountered while trying to authenticate. Please try again.'), 'error');
|
||||
@@ -26,8 +26,8 @@ if ($wfCoreActive && !(isset($wfCoreLoading) && $wfCoreLoading)) {
|
||||
else {
|
||||
define('WORDFENCE_LS_FROM_CORE', ($wfCoreActive && isset($wfCoreLoading) && $wfCoreLoading));
|
||||
|
||||
define('WORDFENCE_LS_VERSION', '1.1.7');
|
||||
define('WORDFENCE_LS_BUILD_NUMBER', '1699289814');
|
||||
define('WORDFENCE_LS_VERSION', '1.1.8');
|
||||
define('WORDFENCE_LS_BUILD_NUMBER', '1704213472');
|
||||
|
||||
define('WORDFENCE_LS_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user