Changeset 2886149
- Timestamp:
- 03/24/2023 06:06:06 AM (3 years ago)
- Location:
- wp-sms-otp-login
- Files:
-
- 7 edited
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-2.png (modified) (previous)
-
assets/screenshot-3.png (modified) (previous)
-
trunk/includes/class-wpsmstootp-features.php (modified) (1 diff)
-
trunk/includes/functions.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-sms-to-otp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-sms-otp-login/trunk/includes/class-wpsmstootp-features.php
r2810655 r2886149 1094 1094 1095 1095 // if the new phone exist in DB and belongs to another user 1096 if (self::check_mobile_phone_number($_POST['mobile_phone'], $user_id)) {1097 1096 1097 if ((isset($_POST['mobile_phone'])) && (self::check_mobile_phone_number($_POST['mobile_phone'], $user_id))) { 1098 1098 if ($mobile_phone != esc_attr(str_replace(' ', '', $_POST['mobile_phone']))) { 1099 1099 update_user_meta($user_id, 'mobile_phone', $mobile_phone_un_trimmed); -
wp-sms-otp-login/trunk/includes/functions.php
r2855635 r2886149 1576 1576 */ 1577 1577 function user_actions($actions, $user) { 1578 1578 1579 1579 if ((isset($_GET['user'])) && ($_GET['user'] == $user->ID)) { 1580 1580 … … 1588 1588 $email = $user->data->user_email; 1589 1589 $ip = wsol_sms_to_getRealIpAddr(); 1590 1591 if ( $_GET['action'] == 'block_user') {1590 1591 if ((isset($_GET['action'])) && ($_GET['action'] == 'block_user')) { 1592 1592 if ($user_is_admin) { 1593 1593 echo '<div class="updated notice is-dismissible"><p>Failure! Admin ' . esc_html($user_details) . ' can not be blocked ' . '.</p></div>'; … … 1599 1599 } 1600 1600 } 1601 if ( $_GET['action'] == 'un_block_user') {1601 if ((isset($_GET['action'])) && ($_GET['action'] == 'un_block_user')) { 1602 1602 update_user_meta($user->ID, 'blocked_user', 'false'); 1603 1603 wsol_sms_to_deletePastdata($mobile_phone, $email, $ip, 'verify'); … … 1605 1605 echo '<div class="updated notice is-dismissible"><p>Success! User ' . esc_html($user_details) . ' has been unblocked ' . '.</p></div>'; 1606 1606 } 1607 if ( $_GET['action'] == 'verify_mobile_phone') {1607 if ((isset($_GET['action'])) && ($_GET['action'] == 'verify_mobile_phone')) { 1608 1608 $result = WSOL_WP_SMS_TO_OTP\WSOL_SMS_TO_Features::check_mobile_phone_number($mobile_phone, $user->ID); 1609 1609 if ($result) { … … 1617 1617 } 1618 1618 } 1619 if ( $_GET['action'] == 'un_verify_mobile_phone') {1619 if ((isset($_GET['action'])) && ($_GET['action'] == 'un_verify_mobile_phone')) { 1620 1620 if ($user_is_admin) { 1621 1621 echo '<div class="updated notice is-dismissible"><p>Failure! Mobile phone number ' . esc_html($mobile_phone) . ' of admin ' . esc_html($user_details) . ' can not be unverified. If you need to change your mobile phone, please do this through your profile. ' . '.</p></div>'; -
wp-sms-otp-login/trunk/readme.txt
r2855635 r2886149 6 6 Tags: sms, wordpress, send, subscribe, message, register, notification, sms.to, subscribes-sms 7 7 Requires at least: 3.0 8 Tested up to: 6. 1.19 Stable tag: 1.1. 48 Tested up to: 6.2 9 Stable tag: 1.1.5 10 10 Requires PHP: 5.6 11 11 WC requires at least: 3.0 12 WC tested up to: 7. 3.012 WC tested up to: 7.5.1 13 13 14 14 … … 80 80 81 81 == Changelog == 82 = 1.1.5 = 83 * Fix Bulk Actions 84 * Fix Mobile Verify 85 * Compatibility with WordPress 6.2 86 * Compatibility with WooCommerce 7.5.1 82 87 = 1.1.4 = 83 88 * Fix Estimation -
wp-sms-otp-login/trunk/wp-sms-to-otp.php
r2855635 r2886149 4 4 * Plugin URI: https://wordpress.org/plugins/wp-sms-otp-login/ 5 5 * Description: A powerful SMS Messaging/Texting one-time-password login plugin for WordPress - This plugin is a fork from https://wordpress.org/plugins/wp-sms/ by VeronaLabs 6 * Version: 1.1. 46 * Version: 1.1.5 7 7 * Author: SMS.to 8 8 * Author URI: https://sms.to
Note: See TracChangeset
for help on using the changeset viewer.