Changeset 3035804
- Timestamp:
- 02/14/2024 04:15:36 PM (22 months ago)
- Location:
- wordfence-login-security
- Files:
-
- 42 added
- 42 deleted
- 8 edited
- 1 copied
-
tags/1.1.9 (copied) (copied from wordfence-login-security/trunk)
-
tags/1.1.9/classes/controller/ajax.php (modified) (4 diffs)
-
tags/1.1.9/css/admin-global.1704213452.css (deleted)
-
tags/1.1.9/css/admin-global.1707926306.css (added)
-
tags/1.1.9/css/admin.1704213452.css (deleted)
-
tags/1.1.9/css/admin.1707926306.css (added)
-
tags/1.1.9/css/colorbox.1704213452.css (deleted)
-
tags/1.1.9/css/colorbox.1707926306.css (added)
-
tags/1.1.9/css/embedded.1704213452.css (deleted)
-
tags/1.1.9/css/embedded.1707926306.css (added)
-
tags/1.1.9/css/font-awesome.1704213452.css (deleted)
-
tags/1.1.9/css/font-awesome.1707926306.css (added)
-
tags/1.1.9/css/ionicons.1704213452.css (deleted)
-
tags/1.1.9/css/ionicons.1707926306.css (added)
-
tags/1.1.9/css/jquery-ui.min.1704213452.css (deleted)
-
tags/1.1.9/css/jquery-ui.min.1707926306.css (added)
-
tags/1.1.9/css/jquery-ui.structure.min.1704213452.css (deleted)
-
tags/1.1.9/css/jquery-ui.structure.min.1707926306.css (added)
-
tags/1.1.9/css/jquery-ui.theme.min.1704213452.css (deleted)
-
tags/1.1.9/css/jquery-ui.theme.min.1707926306.css (added)
-
tags/1.1.9/css/login.1704213452.css (deleted)
-
tags/1.1.9/css/login.1707926306.css (added)
-
tags/1.1.9/css/wfselect2.min.1704213452.css (deleted)
-
tags/1.1.9/css/wfselect2.min.1707926306.css (added)
-
tags/1.1.9/css/woocommerce-account.1704213452.css (deleted)
-
tags/1.1.9/css/woocommerce-account.1707926306.css (added)
-
tags/1.1.9/js/admin-global.1704213452.js (deleted)
-
tags/1.1.9/js/admin-global.1707926306.js (added)
-
tags/1.1.9/js/admin.1704213452.js (deleted)
-
tags/1.1.9/js/admin.1707926306.js (added)
-
tags/1.1.9/js/chart.umd.1704213452.js (deleted)
-
tags/1.1.9/js/chart.umd.1707926306.js (added)
-
tags/1.1.9/js/jquery.colorbox.1704213452.js (deleted)
-
tags/1.1.9/js/jquery.colorbox.1707926306.js (added)
-
tags/1.1.9/js/jquery.colorbox.min.1704213452.js (deleted)
-
tags/1.1.9/js/jquery.colorbox.min.1707926306.js (added)
-
tags/1.1.9/js/jquery.qrcode.min.1704213452.js (deleted)
-
tags/1.1.9/js/jquery.qrcode.min.1707926306.js (added)
-
tags/1.1.9/js/jquery.tmpl.min.1704213452.js (deleted)
-
tags/1.1.9/js/jquery.tmpl.min.1707926306.js (added)
-
tags/1.1.9/js/login.1704213452.js (deleted)
-
tags/1.1.9/js/login.1707926306.js (added)
-
tags/1.1.9/js/wfselect2.min.1704213452.js (deleted)
-
tags/1.1.9/js/wfselect2.min.1707926306.js (added)
-
tags/1.1.9/languages/wordfence-login-security.pot (modified) (2 diffs)
-
tags/1.1.9/readme.txt (modified) (2 diffs)
-
tags/1.1.9/wordfence-login-security.php (modified) (2 diffs)
-
trunk/classes/controller/ajax.php (modified) (4 diffs)
-
trunk/css/admin-global.1704213452.css (deleted)
-
trunk/css/admin-global.1707926306.css (added)
-
trunk/css/admin.1704213452.css (deleted)
-
trunk/css/admin.1707926306.css (added)
-
trunk/css/colorbox.1704213452.css (deleted)
-
trunk/css/colorbox.1707926306.css (added)
-
trunk/css/embedded.1704213452.css (deleted)
-
trunk/css/embedded.1707926306.css (added)
-
trunk/css/font-awesome.1704213452.css (deleted)
-
trunk/css/font-awesome.1707926306.css (added)
-
trunk/css/ionicons.1704213452.css (deleted)
-
trunk/css/ionicons.1707926306.css (added)
-
trunk/css/jquery-ui.min.1704213452.css (deleted)
-
trunk/css/jquery-ui.min.1707926306.css (added)
-
trunk/css/jquery-ui.structure.min.1704213452.css (deleted)
-
trunk/css/jquery-ui.structure.min.1707926306.css (added)
-
trunk/css/jquery-ui.theme.min.1704213452.css (deleted)
-
trunk/css/jquery-ui.theme.min.1707926306.css (added)
-
trunk/css/login.1704213452.css (deleted)
-
trunk/css/login.1707926306.css (added)
-
trunk/css/wfselect2.min.1704213452.css (deleted)
-
trunk/css/wfselect2.min.1707926306.css (added)
-
trunk/css/woocommerce-account.1704213452.css (deleted)
-
trunk/css/woocommerce-account.1707926306.css (added)
-
trunk/js/admin-global.1704213452.js (deleted)
-
trunk/js/admin-global.1707926306.js (added)
-
trunk/js/admin.1704213452.js (deleted)
-
trunk/js/admin.1707926306.js (added)
-
trunk/js/chart.umd.1704213452.js (deleted)
-
trunk/js/chart.umd.1707926306.js (added)
-
trunk/js/jquery.colorbox.1704213452.js (deleted)
-
trunk/js/jquery.colorbox.1707926306.js (added)
-
trunk/js/jquery.colorbox.min.1704213452.js (deleted)
-
trunk/js/jquery.colorbox.min.1707926306.js (added)
-
trunk/js/jquery.qrcode.min.1704213452.js (deleted)
-
trunk/js/jquery.qrcode.min.1707926306.js (added)
-
trunk/js/jquery.tmpl.min.1704213452.js (deleted)
-
trunk/js/jquery.tmpl.min.1707926306.js (added)
-
trunk/js/login.1704213452.js (deleted)
-
trunk/js/login.1707926306.js (added)
-
trunk/js/wfselect2.min.1704213452.js (deleted)
-
trunk/js/wfselect2.min.1707926306.js (added)
-
trunk/languages/wordfence-login-security.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wordfence-login-security.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordfence-login-security/tags/1.1.9/classes/controller/ajax.php
r2937680 r3035804 26 26 27 27 public function init() { 28 $this->_actions = array( 28 $this->_actions = array( 29 29 'authenticate' => array( 30 30 'handler' => array($this, '_ajax_authenticate_callback'), … … 58 58 'save_options' => array( 59 59 'handler' => array($this, '_ajax_save_options_callback'), 60 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to change options.', 'wordfence-login-security')),60 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to change options.', 'wordfence-login-security'); }), //These are deliberately written as closures to be executed later so that WP doesn't load the translations too early, which can cause it not to pick up user-specific language settings 61 61 'required_parameters' => array('nonce', 'changes'), 62 62 ), 63 63 'send_grace_period_notification' => array( 64 64 'handler' => array($this, '_ajax_send_grace_period_notification_callback'), 65 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to send notifications.', 'wordfence-login-security')),65 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to send notifications.', 'wordfence-login-security'); }), 66 66 'required_parameters' => array('nonce', 'role', 'url'), 67 67 ), 68 68 'update_ip_preview' => array( 69 69 'handler' => array($this, '_ajax_update_ip_preview_callback'), 70 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to change options.', 'wordfence-login-security')),70 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to change options.', 'wordfence-login-security'); }), 71 71 'required_parameters' => array('nonce', 'ip_source', 'ip_source_trusted_proxies'), 72 72 ), … … 78 78 'reset_recaptcha_stats' => array( 79 79 'handler' => array($this, '_ajax_reset_recaptcha_stats_callback'), 80 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to reset reCAPTCHA statistics.', 'wordfence-login-security')),80 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to reset reCAPTCHA statistics.', 'wordfence-login-security'); }), 81 81 'required_parameters' => array('nonce'), 82 82 ), 83 83 'reset_2fa_grace_period' => array ( 84 84 'handler' => array($this, '_ajax_reset_2fa_grace_period_callback'), 85 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to reset the 2FA grace period.', 'wordfence-login-security')),85 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to reset the 2FA grace period.', 'wordfence-login-security'); }), 86 86 'required_parameters' => array('nonce', 'user_id') 87 87 ), 88 88 'revoke_2fa_grace_period' => array ( 89 89 'handler' => array($this, '_ajax_revoke_2fa_grace_period_callback'), 90 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to revoke the 2FA grace period.', 'wordfence-login-security')),90 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to revoke the 2FA grace period.', 'wordfence-login-security'); }), 91 91 'required_parameters' => array('nonce', 'user_id') 92 92 ), 93 93 'reset_ntp_failure_count' => array( 94 94 'handler' => array($this, '_ajax_reset_ntp_failure_count_callback'), 95 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to reset the NTP failure count.', 'wordfence-login-security')),95 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to reset the NTP failure count.', 'wordfence-login-security'); }), 96 96 'required_parameters' => array(), 97 97 ), 98 98 'disable_ntp' => array( 99 99 'handler' => array($this, '_ajax_disable_ntp_callback'), 100 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to disable NTP.', 'wordfence-login-security')),100 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to disable NTP.', 'wordfence-login-security'); }), 101 101 'required_parameters' => array(), 102 102 ), 103 103 'dismiss_persistent_notice' => array( 104 104 'handler' => array($this, '_ajax_dismiss_persistent_notice_callback'), 105 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to dismiss this notice.', 'wordfence-login-security')),105 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to dismiss this notice.', 'wordfence-login-security'); }), 106 106 'required_parameters' => array('nonce', 'notice_id') 107 107 ) … … 160 160 foreach ($parameters['permissions'] as $permission => $error) { 161 161 if (!user_can($user, $permission)) { 162 self::send_json(array('error' => $error ));162 self::send_json(array('error' => $error())); 163 163 } 164 164 } -
wordfence-login-security/tags/1.1.9/languages/wordfence-login-security.pot
r3016540 r3035804 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Wordfence Login Security 1.1. 8\n"6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip- TFOK8vqll\n"5 "Project-Id-Version: Wordfence Login Security 1.1.9\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip-zYfqhi7Al\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 8 "Language-Team: LANGUAGE <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 1-02T16:37:33+00:00\n"12 "POT-Creation-Date: 2024-02-14T15:58:26+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.7.1\n" -
wordfence-login-security/tags/1.1.9/readme.txt
r3016566 r3035804 5 5 Requires PHP: 5.5 6 6 Tested up to: 6.4 7 Stable tag: 1.1. 87 Stable tag: 1.1.9 8 8 9 9 Secure your website with Wordfence Login Security, providing two-factor authentication, login and registration CAPTCHA, and XML-RPC protection. … … 58 58 59 59 == Changelog == 60 61 = 1.1.9 - February 14, 2024 = 62 * Fix: Fixed an issue where user profiles with a selected locale different from the site itself could end up loading the site's locale instead 60 63 61 64 = 1.1.8 - January 2, 2024 = -
wordfence-login-security/tags/1.1.9/wordfence-login-security.php
r3016540 r3035804 5 5 Author: Wordfence 6 6 Author URI: http://www.wordfence.com/ 7 Version: 1.1. 87 Version: 1.1.9 8 8 Network: true 9 9 Requires at least: 4.5 … … 39 39 define('WORDFENCE_LS_FROM_CORE', ($wfCoreActive && isset($wfCoreLoading) && $wfCoreLoading)); 40 40 41 define('WORDFENCE_LS_VERSION', '1.1. 8');42 define('WORDFENCE_LS_BUILD_NUMBER', '170 4213452');41 define('WORDFENCE_LS_VERSION', '1.1.9'); 42 define('WORDFENCE_LS_BUILD_NUMBER', '1707926306'); 43 43 44 44 define('WORDFENCE_LS_PLUGIN_BASENAME', plugin_basename(__FILE__)); -
wordfence-login-security/trunk/classes/controller/ajax.php
r2937680 r3035804 26 26 27 27 public function init() { 28 $this->_actions = array( 28 $this->_actions = array( 29 29 'authenticate' => array( 30 30 'handler' => array($this, '_ajax_authenticate_callback'), … … 58 58 'save_options' => array( 59 59 'handler' => array($this, '_ajax_save_options_callback'), 60 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to change options.', 'wordfence-login-security')),60 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to change options.', 'wordfence-login-security'); }), //These are deliberately written as closures to be executed later so that WP doesn't load the translations too early, which can cause it not to pick up user-specific language settings 61 61 'required_parameters' => array('nonce', 'changes'), 62 62 ), 63 63 'send_grace_period_notification' => array( 64 64 'handler' => array($this, '_ajax_send_grace_period_notification_callback'), 65 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to send notifications.', 'wordfence-login-security')),65 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to send notifications.', 'wordfence-login-security'); }), 66 66 'required_parameters' => array('nonce', 'role', 'url'), 67 67 ), 68 68 'update_ip_preview' => array( 69 69 'handler' => array($this, '_ajax_update_ip_preview_callback'), 70 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to change options.', 'wordfence-login-security')),70 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to change options.', 'wordfence-login-security'); }), 71 71 'required_parameters' => array('nonce', 'ip_source', 'ip_source_trusted_proxies'), 72 72 ), … … 78 78 'reset_recaptcha_stats' => array( 79 79 'handler' => array($this, '_ajax_reset_recaptcha_stats_callback'), 80 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to reset reCAPTCHA statistics.', 'wordfence-login-security')),80 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to reset reCAPTCHA statistics.', 'wordfence-login-security'); }), 81 81 'required_parameters' => array('nonce'), 82 82 ), 83 83 'reset_2fa_grace_period' => array ( 84 84 'handler' => array($this, '_ajax_reset_2fa_grace_period_callback'), 85 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to reset the 2FA grace period.', 'wordfence-login-security')),85 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to reset the 2FA grace period.', 'wordfence-login-security'); }), 86 86 'required_parameters' => array('nonce', 'user_id') 87 87 ), 88 88 'revoke_2fa_grace_period' => array ( 89 89 'handler' => array($this, '_ajax_revoke_2fa_grace_period_callback'), 90 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to revoke the 2FA grace period.', 'wordfence-login-security')),90 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to revoke the 2FA grace period.', 'wordfence-login-security'); }), 91 91 'required_parameters' => array('nonce', 'user_id') 92 92 ), 93 93 'reset_ntp_failure_count' => array( 94 94 'handler' => array($this, '_ajax_reset_ntp_failure_count_callback'), 95 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to reset the NTP failure count.', 'wordfence-login-security')),95 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to reset the NTP failure count.', 'wordfence-login-security'); }), 96 96 'required_parameters' => array(), 97 97 ), 98 98 'disable_ntp' => array( 99 99 'handler' => array($this, '_ajax_disable_ntp_callback'), 100 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to disable NTP.', 'wordfence-login-security')),100 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to disable NTP.', 'wordfence-login-security'); }), 101 101 'required_parameters' => array(), 102 102 ), 103 103 'dismiss_persistent_notice' => array( 104 104 'handler' => array($this, '_ajax_dismiss_persistent_notice_callback'), 105 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => __('You do not have permission to dismiss this notice.', 'wordfence-login-security')),105 'permissions' => array(Controller_Permissions::CAP_MANAGE_SETTINGS => function() { return __('You do not have permission to dismiss this notice.', 'wordfence-login-security'); }), 106 106 'required_parameters' => array('nonce', 'notice_id') 107 107 ) … … 160 160 foreach ($parameters['permissions'] as $permission => $error) { 161 161 if (!user_can($user, $permission)) { 162 self::send_json(array('error' => $error ));162 self::send_json(array('error' => $error())); 163 163 } 164 164 } -
wordfence-login-security/trunk/languages/wordfence-login-security.pot
r3016540 r3035804 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Wordfence Login Security 1.1. 8\n"6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip- TFOK8vqll\n"5 "Project-Id-Version: Wordfence Login Security 1.1.9\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordfence-login-security-zip-zYfqhi7Al\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 8 "Language-Team: LANGUAGE <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 1-02T16:37:33+00:00\n"12 "POT-Creation-Date: 2024-02-14T15:58:26+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.7.1\n" -
wordfence-login-security/trunk/readme.txt
r3016566 r3035804 58 58 59 59 == Changelog == 60 61 = 1.1.9 - February 14, 2024 = 62 * Fix: Fixed an issue where user profiles with a selected locale different from the site itself could end up loading the site's locale instead 60 63 61 64 = 1.1.8 - January 2, 2024 = -
wordfence-login-security/trunk/wordfence-login-security.php
r3016540 r3035804 5 5 Author: Wordfence 6 6 Author URI: http://www.wordfence.com/ 7 Version: 1.1. 87 Version: 1.1.9 8 8 Network: true 9 9 Requires at least: 4.5 … … 39 39 define('WORDFENCE_LS_FROM_CORE', ($wfCoreActive && isset($wfCoreLoading) && $wfCoreLoading)); 40 40 41 define('WORDFENCE_LS_VERSION', '1.1. 8');42 define('WORDFENCE_LS_BUILD_NUMBER', '170 4213452');41 define('WORDFENCE_LS_VERSION', '1.1.9'); 42 define('WORDFENCE_LS_BUILD_NUMBER', '1707926306'); 43 43 44 44 define('WORDFENCE_LS_PLUGIN_BASENAME', plugin_basename(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.