Plugin Directory

Changeset 2987264


Ignore:
Timestamp:
11/01/2023 09:02:10 AM (2 years ago)
Author:
rsukhar
Message:

Error Patching and Compatibility Upgrades

Location:
convertful/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • convertful/trunk/convertful.php

    r2735700 r2987264  
    33/**
    44 * Plugin Name: Convertful - Your Ultimate On-Site Conversion Tool
    5  * Version: 2.5
     5 * Version: 2.6
    66 * Plugin URI: https://convertful.com/
    77 * Description: All the modern on-site conversion solutions, natively integrates with all modern Email Marketing
  • convertful/trunk/functions/woocommerce.php

    r2525260 r2987264  
    5454function add_to_woo_cart()
    5555{
     56    $refererHost = wp_parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST );
     57    $host = wp_parse_url(get_home_url(), PHP_URL_HOST );
     58    if($host !== $refererHost){
     59        return false;
     60    }
    5661    global $woocommerce;
    5762    $product_id = $_POST['product_id'];
     
    6368
    6469function add_woo_coupon(){
     70    conv_check_access();
    6571    $coupon_code = $_POST['code']; // Code
    6672    $amount = $_POST['amount'];
  • convertful/trunk/readme.txt

    r2973034 r2987264  
    44Requires at least: 4.0
    55Tested up to: 6.3
    6 Stable tag: 2.5
     6Stable tag: 2.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    101101
    102102== Changelog ==
     103= 2.6 =
     104* Error Patching and Compatibility Upgrades
     105
    103106= 2.5 =
    104107* Tested compatibility with WordPress 6.0
Note: See TracChangeset for help on using the changeset viewer.