Plugin Directory

Changeset 3134553


Ignore:
Timestamp:
08/13/2024 03:53:25 AM (20 months ago)
Author:
inspireui
Message:

version 4.15.3

Location:
mstore-api
Files:
487 added
4 edited

Legend:

Unmodified
Added
Removed
  • mstore-api/trunk/controllers/flutter-user.php

    r3132501 r3134553  
    399399        $userLoginReq = $params["user_login"];
    400400        $userEmailReq = $params["user_email"];
     401        $referralCodeReq = $params["referral_code"];
    401402
    402403        if(array_key_exists('role', $params)){
     
    468469                $user['role'] = isset($params["role"]) ? sanitize_text_field($params["role"]) : $default_role;
    469470                $_POST['user_role'] = $user['role'];//fix to register account with role in listeo
     471
     472                //
     473                if ($referralCodeReq) {
     474                    $_COOKIE['woo_wallet_referral'] = sanitize_text_field( wp_unslash( $referralCodeReq ) );
     475                }
     476
    470477                $user_id = wp_insert_user($user);
    471478
  • mstore-api/trunk/controllers/helpers/firebase-phone-auth-helper.php

    r3110793 r3134553  
    2929        $projectId = $json['project_id'];
    3030
    31         if (!isset($decodedPayload['aud']) || $decodedPayload['aud'] != $projectId) {
     31        if (!isset($decodedPayload['aud']) || $decodedPayload['aud'] !== $projectId) {
    3232            return false;
    3333        }
    3434       
    35         if (!isset($decodedPayload['iss']) || $decodedPayload['iss'] != 'https://securetoken.google.com/'.$projectId) {
     35        if (!isset($decodedPayload['iss']) || $decodedPayload['iss'] !== 'https://securetoken.google.com/'.$projectId) {
    3636            return false;
    3737        }
  • mstore-api/trunk/mstore-api.php

    r3132501 r3134553  
    44 * Plugin URI: https://github.com/inspireui/mstore-api
    55 * Description: The MStore API Plugin which is used for the FluxBuilder and FluxStore Mobile App
    6  * Version: 4.15.2
     6 * Version: 4.15.3
    77 * Author: FluxBuilder
    88 * Author URI: https://fluxbuilder.com
     
    5757class MstoreCheckOut
    5858{
    59     public $version = '4.15.2';
     59    public $version = '4.15.3';
    6060
    6161    public function __construct()
  • mstore-api/trunk/readme.txt

    r3132501 r3134553  
    44Requires at least: 4.4
    55Tested up to:      6.5.3
    6 Stable tag:        4.15.2
     6Stable tag:        4.15.3
    77License:           GPL-2.0
    88License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     
    4949
    5050== Changelog ==
     51= 4.15.3 =
     52  * Fix sms login checking
     53
    5154= 4.15.2 =
    5255  * Fix waring issues
Note: See TracChangeset for help on using the changeset viewer.