Plugin Directory

Changeset 2886149


Ignore:
Timestamp:
03/24/2023 06:06:06 AM (3 years ago)
Author:
intergotelecom
Message:

tested up to 6.2

Location:
wp-sms-otp-login
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • wp-sms-otp-login/trunk/includes/class-wpsmstootp-features.php

    r2810655 r2886149  
    10941094
    10951095                // 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))) {
    10981098                        if ($mobile_phone != esc_attr(str_replace(' ', '', $_POST['mobile_phone']))) {
    10991099                            update_user_meta($user_id, 'mobile_phone', $mobile_phone_un_trimmed);
  • wp-sms-otp-login/trunk/includes/functions.php

    r2855635 r2886149  
    15761576 */
    15771577function user_actions($actions, $user) {
    1578     
     1578   
    15791579    if ((isset($_GET['user'])) && ($_GET['user'] == $user->ID)) {
    15801580
     
    15881588        $email = $user->data->user_email;
    15891589        $ip = wsol_sms_to_getRealIpAddr();
    1590 
    1591         if ($_GET['action'] == 'block_user') {
     1590       
     1591        if ((isset($_GET['action'])) && ($_GET['action'] == 'block_user')) {
    15921592            if ($user_is_admin) {
    15931593                echo '<div class="updated notice is-dismissible"><p>Failure! Admin ' . esc_html($user_details) . ' can not be blocked ' . '.</p></div>';
     
    15991599            }
    16001600        }
    1601         if ($_GET['action'] == 'un_block_user') {
     1601        if ((isset($_GET['action'])) && ($_GET['action'] == 'un_block_user')) {
    16021602            update_user_meta($user->ID, 'blocked_user', 'false');
    16031603            wsol_sms_to_deletePastdata($mobile_phone, $email, $ip, 'verify');
     
    16051605            echo '<div class="updated notice is-dismissible"><p>Success! User ' . esc_html($user_details) . ' has been unblocked ' . '.</p></div>';
    16061606        }
    1607         if ($_GET['action'] == 'verify_mobile_phone') {
     1607        if ((isset($_GET['action'])) && ($_GET['action'] == 'verify_mobile_phone')) {
    16081608            $result = WSOL_WP_SMS_TO_OTP\WSOL_SMS_TO_Features::check_mobile_phone_number($mobile_phone, $user->ID);
    16091609            if ($result) {
     
    16171617            }
    16181618        }
    1619         if ($_GET['action'] == 'un_verify_mobile_phone') {
     1619        if ((isset($_GET['action'])) && ($_GET['action'] == 'un_verify_mobile_phone')) {
    16201620            if ($user_is_admin) {
    16211621                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  
    66Tags: sms, wordpress, send, subscribe, message, register, notification, sms.to, subscribes-sms
    77Requires at least: 3.0
    8 Tested up to: 6.1.1
    9 Stable tag: 1.1.4
     8Tested up to: 6.2
     9Stable tag: 1.1.5
    1010Requires PHP: 5.6
    1111WC requires at least: 3.0
    12 WC tested up to: 7.3.0
     12WC tested up to: 7.5.1
    1313
    1414
     
    8080
    8181== 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
    8287= 1.1.4 =
    8388* Fix Estimation
  • wp-sms-otp-login/trunk/wp-sms-to-otp.php

    r2855635 r2886149  
    44 * Plugin URI: https://wordpress.org/plugins/wp-sms-otp-login/
    55 * 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.4
     6 * Version: 1.1.5
    77 * Author: SMS.to
    88 * Author URI: https://sms.to
Note: See TracChangeset for help on using the changeset viewer.