Plugin Directory

Changeset 3084399


Ignore:
Timestamp:
05/10/2024 07:53:12 AM (2 years ago)
Author:
jnser
Message:

Fixes cart cookie get

Location:
stan-checkout/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stan-checkout/trunk/README.txt

    r3084389 r3084399  
    44Requires at least: 5.0.0
    55Tested up to: 6.5.2
    6 Stable tag: 1.2.3
     6Stable tag: 1.2.4
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • stan-checkout/trunk/includes/classes/class-wc-stan-checkout-cart-api.php

    r3084375 r3084399  
    109109            WC()->session->set( STAN_SESSION_USER_ID, get_current_user_id() );
    110110           
    111             save_session( esc_html( sanitize_text_field( $_COOKIE[ STAN_SESSION_ID_COOKIE ] ) ) );
     111            if ( isset( $_COOKIE[ STAN_SESSION_ID_COOKIE ] ) ) {
     112                save_session( esc_html( sanitize_text_field( $_COOKIE[ STAN_SESSION_ID_COOKIE ] ) ) );
     113            }
    112114        }
    113115
  • stan-checkout/trunk/wc-stan-checkout.php

    r3084389 r3084399  
    1919 * Plugin URI:        https://compte.stan-app.fr
    2020 * Description:       Vous perdez des utilisateurs lorsque vous demandez de s'inscrire, remplir les formulaires est la première raison qui mène les utilisateurs à quitter un site. Avec Stan Checkout vos utilisateurs s'inscrivent sans formulaire, sans contrainte.
    21  * Version:           1.2.3
     21 * Version:           1.2.4
    2222 * Author:            Brightweb
    2323 * Author URI:        https://stan-business.fr
Note: See TracChangeset for help on using the changeset viewer.