Plugin Directory

Changeset 3313561


Ignore:
Timestamp:
06/18/2025 02:47:45 AM (9 months ago)
Author:
inspireui
Message:

version 4.17.8

Location:
mstore-api
Files:
495 added
3 edited

Legend:

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

    r3306788 r3313561  
    5151        $body = json_decode($json, TRUE);
    5252
     53        $cookie = get_header_user_cookie($request->get_header("User-Cookie"));
     54        if (isset($cookie) && $cookie != null) {
     55            $user_id = validateCookieLogin($cookie);
     56            if (is_wp_error($user_id)) {
     57                return $user_id;
     58            }
     59            $user = get_userdata($user_id);
     60            wp_set_current_user($user_id, $user->user_login);
     61        }
     62       
    5363        if (null === WC()->session) {
    5464            $session_class = apply_filters('woocommerce_session_handler', 'WC_Session_Handler');
  • mstore-api/trunk/mstore-api.php

    r3306788 r3313561  
    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.17.7
     6 * Version: 4.17.8
    77 * Author: FluxBuilder
    88 * Author URI: https://fluxbuilder.com
     
    6363class MstoreCheckOut
    6464{
    65     public $version = '4.17.7';
     65    public $version = '4.17.8';
    6666
    6767    public function __construct()
  • mstore-api/trunk/readme.txt

    r3306788 r3313561  
    44Requires at least: 4.4
    55Tested up to:      6.8.1
    6 Stable tag:        4.17.7
     6Stable tag:        4.17.8
    77License:           GPL-2.0
    88License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     
    4949
    5050== Changelog ==
     51= 4.17.7 =
     52  * Support wholesale for discount rules
     53
    5154= 4.17.7 =
    5255  * Implement discount rules
Note: See TracChangeset for help on using the changeset viewer.