Changeset 3402114
- Timestamp:
- 11/24/2025 10:55:47 PM (3 months ago)
- Location:
- keyless-auth
- Files:
-
- 71 added
- 4 edited
-
tags/3.2.4 (added)
-
tags/3.2.4/LICENSE (added)
-
tags/3.2.4/assets (added)
-
tags/3.2.4/assets/css (added)
-
tags/3.2.4/assets/css/2fa-frontend.css (added)
-
tags/3.2.4/assets/css/admin-style.css (added)
-
tags/3.2.4/assets/css/forms-enhanced-dark.css (added)
-
tags/3.2.4/assets/css/forms-enhanced-light.css (added)
-
tags/3.2.4/assets/css/forms-enhanced.css (added)
-
tags/3.2.4/assets/css/help-page.css (added)
-
tags/3.2.4/assets/css/style-back-end.css (added)
-
tags/3.2.4/assets/css/style-front-end.css (added)
-
tags/3.2.4/assets/css/woocommerce-integration.css (added)
-
tags/3.2.4/assets/js (added)
-
tags/3.2.4/assets/js/2fa-frontend.js (added)
-
tags/3.2.4/assets/js/admin-script.js (added)
-
tags/3.2.4/assets/js/help-page.js (added)
-
tags/3.2.4/assets/js/qrcode.js (added)
-
tags/3.2.4/assets/js/qrcode.min.js (added)
-
tags/3.2.4/assets/js/woocommerce-integration.js (added)
-
tags/3.2.4/assets/logo_150_150.png (added)
-
tags/3.2.4/autoload.php (added)
-
tags/3.2.4/includes (added)
-
tags/3.2.4/includes/Admin (added)
-
tags/3.2.4/includes/Admin/Admin.php (added)
-
tags/3.2.4/includes/Admin/Admin.php.backup (added)
-
tags/3.2.4/includes/Admin/Ajax (added)
-
tags/3.2.4/includes/Admin/Ajax/TwoFAAjaxHandler.php (added)
-
tags/3.2.4/includes/Admin/Ajax/index.php (added)
-
tags/3.2.4/includes/Admin/Assets (added)
-
tags/3.2.4/includes/Admin/Assets/AssetLoader.php (added)
-
tags/3.2.4/includes/Admin/Assets/index.php (added)
-
tags/3.2.4/includes/Admin/MenuManager.php (added)
-
tags/3.2.4/includes/Admin/Pages (added)
-
tags/3.2.4/includes/Admin/Pages/DashboardPage.php (added)
-
tags/3.2.4/includes/Admin/Pages/HelpPage.php (added)
-
tags/3.2.4/includes/Admin/Pages/MailLogsPage.php (added)
-
tags/3.2.4/includes/Admin/Pages/OptionsPage.php (added)
-
tags/3.2.4/includes/Admin/Pages/SmtpPage.php (added)
-
tags/3.2.4/includes/Admin/Pages/TemplatesPage.php (added)
-
tags/3.2.4/includes/Admin/Pages/TwoFAUsersPage.php (added)
-
tags/3.2.4/includes/Admin/Pages/index.php (added)
-
tags/3.2.4/includes/Admin/Settings (added)
-
tags/3.2.4/includes/Admin/Settings/SettingsManager.php (added)
-
tags/3.2.4/includes/Admin/Settings/index.php (added)
-
tags/3.2.4/includes/Admin/index.php (added)
-
tags/3.2.4/includes/Core (added)
-
tags/3.2.4/includes/Core/Core.php (added)
-
tags/3.2.4/includes/Core/Database.php (added)
-
tags/3.2.4/includes/Core/Main.php (added)
-
tags/3.2.4/includes/Core/Notices.php (added)
-
tags/3.2.4/includes/Core/PasswordReset.php (added)
-
tags/3.2.4/includes/Core/WooCommerce.php (added)
-
tags/3.2.4/includes/Core/index.php (added)
-
tags/3.2.4/includes/Email (added)
-
tags/3.2.4/includes/Email/MailLogger.php (added)
-
tags/3.2.4/includes/Email/SMTP.php (added)
-
tags/3.2.4/includes/Email/Templates.php (added)
-
tags/3.2.4/includes/Email/index.php (added)
-
tags/3.2.4/includes/Security (added)
-
tags/3.2.4/includes/Security/TwoFA (added)
-
tags/3.2.4/includes/Security/TwoFA/Core.php (added)
-
tags/3.2.4/includes/Security/TwoFA/Frontend.php (added)
-
tags/3.2.4/includes/Security/TwoFA/TOTP.php (added)
-
tags/3.2.4/includes/Security/TwoFA/index.php (added)
-
tags/3.2.4/includes/Security/index.php (added)
-
tags/3.2.4/includes/index.php (added)
-
tags/3.2.4/keyless-auth.php (added)
-
tags/3.2.4/languages (added)
-
tags/3.2.4/languages/keyless-auth.pot (added)
-
tags/3.2.4/readme.txt (added)
-
trunk/includes/Core/Core.php (modified) (3 diffs)
-
trunk/includes/Email/SMTP.php (modified) (1 diff)
-
trunk/keyless-auth.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
keyless-auth/trunk/includes/Core/Core.php
r3393700 r3402114 504 504 // Verify nonce 505 505 if (!isset($_POST['nonce']) || !wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['nonce'])), 'chrmrtns_kla_keyless_login_request')) { 506 $error = new WP_Error('nonce_failed', __('Security check failed. Please try again.', 'keyless-auth'));506 $error = new \WP_Error('nonce_failed', __('Security check failed. Please try again.', 'keyless-auth')); 507 507 update_option('chrmrtns_kla_login_request_error', $error); 508 508 return; … … 515 515 516 516 if (!$user) { 517 $error = new WP_Error('invalid_user', __('The username or email you provided do not exist. Please try again.', 'keyless-auth'));517 $error = new \WP_Error('invalid_user', __('The username or email you provided do not exist. Please try again.', 'keyless-auth')); 518 518 update_option('chrmrtns_kla_login_request_error', $error); 519 519 return; … … 528 528 // Generate and send login link 529 529 if (!$this->send_login_email($user)) { 530 $error = new WP_Error('email_failed', __('There was a problem sending your email. Please try again or contact an admin.', 'keyless-auth'));530 $error = new \WP_Error('email_failed', __('There was a problem sending your email. Please try again or contact an admin.', 'keyless-auth')); 531 531 update_option('chrmrtns_kla_login_request_error', $error); 532 532 } -
keyless-auth/trunk/includes/Email/SMTP.php
r3380037 r3402114 402 402 $from_email = !empty($options['from_email']) ? $options['from_email'] : $phpmailer->Username; 403 403 $phpmailer->From = $from_email; 404 // Set Sender (Envelope-From) to match From for better SPF/DMARC alignment 405 $phpmailer->Sender = $from_email; 404 406 405 407 // Set the Message-ID domain to match the From email domain for better deliverability -
keyless-auth/trunk/keyless-auth.php
r3393700 r3402114 4 4 * Plugin URI: https://github.com/chrmrtns/keyless-auth 5 5 * Description: Enhanced passwordless authentication with magic email links, two-factor authentication, SMTP integration, WooCommerce integration, and comprehensive security features for WordPress. 6 * Version: 3.2. 36 * Version: 3.2.4 7 7 * Author: Chris Martens 8 8 * Author URI: https://github.com/chrmrtns … … 38 38 39 39 // Define plugin constants 40 define('CHRMRTNS_KLA_VERSION', '3.2. 3');40 define('CHRMRTNS_KLA_VERSION', '3.2.4'); 41 41 define('CHRMRTNS_KLA_PLUGIN_DIR', plugin_dir_path(__FILE__)); 42 42 define('CHRMRTNS_KLA_PLUGIN_URL', plugin_dir_url(__FILE__)); -
keyless-auth/trunk/readme.txt
r3393700 r3402114 6 6 Requires at least: 3.9 7 7 Tested up to: 6.8 8 Stable tag: 3.2. 38 Stable tag: 3.2.4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 315 315 316 316 == Changelog == 317 318 = 3.2.4 = 319 * FIX: Critical error when entering unregistered email in login form - Fixed missing namespace prefix for WP_Error class 320 * IMPROVEMENT: WordPress 6.9 email compatibility - Added Sender property for better SPF/DMARC alignment 321 * IMPROVEMENT: Envelope-From (Sender) now matches From address for improved email deliverability 322 * TECHNICAL: SMTP configuration now sets both From and Sender properties for authentication compliance 317 323 318 324 = 3.2.3 =
Note: See TracChangeset
for help on using the changeset viewer.