Plugin Directory

Changeset 3023963


Ignore:
Timestamp:
01/19/2024 09:44:44 AM (2 years ago)
Author:
cartx
Message:

Fix loader showing in homepage.

Location:
cartpanda/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cartpanda/trunk/cartpanda.php

    r3008571 r3023963  
    44 * Plugin Name: Cartpanda
    55 * Description: O checkout transparente de 1-página de mais alta conversão do mercado. Upsell de 1-clique e Order Bump nativo.
    6  * Version: 1.1.0
     6 * Version: 1.1.1
    77 * Author: Cartpanda
    88 * Author URI: https://cartpanda.com/
     
    208208        $checkout_path    = wp_parse_url(wc_get_checkout_url(), PHP_URL_PATH);
    209209        $current_url_path = wp_parse_url("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]", PHP_URL_PATH);
    210        
     210        if($checkout_path === '/') {
     211            return false;
     212        }
    211213        return (
    212214            $checkout_path !== null
     
    224226        $cart_path        = wp_parse_url(wc_get_cart_url(), PHP_URL_PATH);
    225227        $current_url_path = wp_parse_url("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]", PHP_URL_PATH);
    226    
     228        if($cart_path === '/') {
     229            return false;
     230        }
    227231        return (
    228232            $cart_path !== null
  • cartpanda/trunk/readme.txt

    r3008571 r3023963  
    11=== Cartpanda ===
    22Tags: cartpanda, woocommerce, checkout, 1-click, simple checkout
    3 Stable tag: 1.1.0
     3Stable tag: 1.1.1
    44Tested up to: 6.4.1
    55Requires at least: 5.5
Note: See TracChangeset for help on using the changeset viewer.