Plugin Directory

Changeset 3643438


Ignore:
Timestamp:
08/12/2026 12:51:30 PM (2 months ago)
Author:
jasminconnexion
Message:

Release 2.3.1 via GitHub Actions

Location:
cognitcxt-chat-widget
Files:
122 added
3 edited

Legend:

Unmodified
Added
Removed
  • cognitcxt-chat-widget/trunk/cognitcxt-chat.php

    r3641613 r3643438  
    44 * Plugin URI: https://cognitcxt.com
    55 * Description: AI-powered chat widget with license key authentication for WordPress and WooCommerce sites.
    6  * Version: 2.3.0
     6 * Version: 2.3.1
    77 * Requires at least: 5.8
    88 * Requires PHP: 7.4
    … …  
    2121
    2222// Define plugin constants
    23 define('COGNITCXT_CHAT_VERSION', '2.3.0');
     23define('COGNITCXT_CHAT_VERSION', '2.3.1');
    2424define('COGNITCXT_CHAT_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2525define('COGNITCXT_CHAT_PLUGIN_URL', plugin_dir_url(__FILE__));
  • cognitcxt-chat-widget/trunk/includes/mcp-abilities.php

    r3641533 r3643438  
    15191519        if (!empty($customer_session_data)) {
    15201520            foreach ($customer_session_data as $key => $value) {
    1521                 WC()->session->set($key, $value);
     1521                WC()->session->set($key, maybe_unserialize($value));
    15221522            }
    15231523        }
    … …  
    15601560    if (!is_array($session_data)) {
    15611561        $session_data = [];
     1562    } else {
     1563        foreach ($session_data as $key => $value) {
     1564            $session_data[$key] = maybe_unserialize($value);
     1565        }
    15621566    }
    15631567
    … …  
    16111615                 session_expiry = VALUES(session_expiry)",
    16121616            (string) $user_id,
    1613             maybe_serialize($session_data),
     1617            maybe_serialize(array_map('maybe_serialize', $session_data)),
    16141618            $expiry
    16151619        )
  • cognitcxt-chat-widget/trunk/readme.txt

    r3641533 r3643438  
    144144
    145145== Changelog ==
     146
     147= 2.3.1 =
     148* Fix: WooCommerce cart session double-serialization bug that caused guest/customer carts to report as empty in MCP tool calls.
    146149
    147150= 2.3.0 =
Note: See TracChangeset for help on using the changeset viewer.