Changeset 3388248
- Timestamp:
- 11/02/2025 05:31:31 AM (5 months ago)
- Location:
- alpha-sms
- Files:
-
- 48 added
- 4 edited
-
tags/1.0.13 (added)
-
tags/1.0.13/LICENSE.txt (added)
-
tags/1.0.13/README.txt (added)
-
tags/1.0.13/admin (added)
-
tags/1.0.13/admin/class-alpha_sms-admin.php (added)
-
tags/1.0.13/admin/css (added)
-
tags/1.0.13/admin/css/alpha_sms-admin.css (added)
-
tags/1.0.13/admin/index.php (added)
-
tags/1.0.13/admin/js (added)
-
tags/1.0.13/admin/js/alpha_sms-admin.js (added)
-
tags/1.0.13/admin/partials (added)
-
tags/1.0.13/admin/partials/alpha_sms-admin-display_campaign.php (added)
-
tags/1.0.13/admin/partials/alpha_sms-admin-display_settings.php (added)
-
tags/1.0.13/alpha_sms.php (added)
-
tags/1.0.13/assets (added)
-
tags/1.0.13/assets/banner-1544x500.png (added)
-
tags/1.0.13/assets/banner-772x250.png (added)
-
tags/1.0.13/assets/icon-128x128.png (added)
-
tags/1.0.13/assets/icon-256x256.png (added)
-
tags/1.0.13/assets/screenshot-1.jpg (added)
-
tags/1.0.13/assets/screenshot-2.jpg (added)
-
tags/1.0.13/assets/smsBanner.ai (added)
-
tags/1.0.13/includes (added)
-
tags/1.0.13/includes/class-alpha_sms-activator.php (added)
-
tags/1.0.13/includes/class-alpha_sms-background.php (added)
-
tags/1.0.13/includes/class-alpha_sms-deactivator.php (added)
-
tags/1.0.13/includes/class-alpha_sms-i18n.php (added)
-
tags/1.0.13/includes/class-alpha_sms-loader.php (added)
-
tags/1.0.13/includes/class-alpha_sms.php (added)
-
tags/1.0.13/includes/index.php (added)
-
tags/1.0.13/includes/sms.class.php (added)
-
tags/1.0.13/index.php (added)
-
tags/1.0.13/languages (added)
-
tags/1.0.13/languages/alpha_sms.pot (added)
-
tags/1.0.13/public (added)
-
tags/1.0.13/public/class-alpha_sms-public.php (added)
-
tags/1.0.13/public/css (added)
-
tags/1.0.13/public/css/alpha_sms-public.css (added)
-
tags/1.0.13/public/css/otp-login-form.css (added)
-
tags/1.0.13/public/index.php (added)
-
tags/1.0.13/public/js (added)
-
tags/1.0.13/public/js/alpha_sms-public.js (added)
-
tags/1.0.13/public/js/otp-login-form.js (added)
-
tags/1.0.13/public/partials (added)
-
tags/1.0.13/public/partials/add-otp-checkout-form.php (added)
-
tags/1.0.13/public/partials/add-otp-on-login-form.php (added)
-
tags/1.0.13/public/partials/add-otp-on-wc-reg-form.php (added)
-
tags/1.0.13/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/alpha_sms.php (modified) (2 diffs)
-
trunk/includes/class-alpha_sms.php (modified) (1 diff)
-
trunk/public/class-alpha_sms-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alpha-sms/trunk/README.txt
r3362984 r3388248 5 5 Tested up to: 6.8.2 6 6 Requires PHP: 5.6 7 Stable tag: 1.0.1 27 Stable tag: 1.0.13 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 == Changelog == 61 61 62 = 1.0.1 2=62 = 1.0.13 = 63 63 * Added a background processor so campaign SMS messages are queued individually and sent by scheduled jobs. 64 64 * Aggregated campaign job results into concise admin notices that highlight failed numbers and the most recent error. -
alpha-sms/trunk/alpha_sms.php
r3362984 r3388248 17 17 * Plugin URI: https://sms.net.bd/plugins/wordpress 18 18 * Description: WP 2FA Login. SMS OTP Verification for Registration and Login forms, WooCommerce SMS Notification for your shop orders. 19 * Version: 1.0.1 219 * Version: 1.0.13 20 20 * Author: Alpha Net 21 21 * Author URI: https://sms.net.bd/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define('ALPHA_SMS_VERSION', '1.0.1 2');38 define('ALPHA_SMS_VERSION', '1.0.13'); 39 39 40 40 // plugin constants -
alpha-sms/trunk/includes/class-alpha_sms.php
r3362984 r3388248 77 77 $this->version = ALPHA_SMS_VERSION; 78 78 } else { 79 $this->version = '1.0.1 2';79 $this->version = '1.0.13'; 80 80 } 81 81 $this->plugin_name = 'alpha_sms'; -
alpha-sms/trunk/public/class-alpha_sms-public.php
r3362903 r3388248 590 590 { 591 591 592 $enable_guest_checkout = get_option('woocommerce_enable_guest_checkout'); 593 $enable_guest_checkout = $enable_guest_checkout === 'yes' ? true : false; 594 595 if (!$this->pluginActive || !$this->options['otp_checkout'] || $enable_guest_checkout) { 596 return $errors; 597 } 592 $enable_guest_checkout = get_option('woocommerce_enable_guest_checkout'); 593 $enable_guest_checkout = $enable_guest_checkout === 'yes' ? true : false; 594 595 $action_type = isset($_REQUEST['action_type']) ? sanitize_text_field($_REQUEST['action_type']) : ''; 596 597 $shouldValidate = $this->pluginActive && ( 598 (!empty($this->options['otp_checkout']) && !$enable_guest_checkout) || 599 (!empty($this->options['wc_reg']) && $action_type === 'wc_reg') || 600 (!empty($this->options['wp_reg']) && $action_type === 'wp_reg') 601 ); 602 603 if (!$shouldValidate) { 604 return $errors; 605 } 598 606 599 607 if (
Note: See TracChangeset
for help on using the changeset viewer.