Changeset 2987264
- Timestamp:
- 11/01/2023 09:02:10 AM (2 years ago)
- Location:
- convertful/trunk
- Files:
-
- 3 edited
-
convertful.php (modified) (1 diff)
-
functions/woocommerce.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
convertful/trunk/convertful.php
r2735700 r2987264 3 3 /** 4 4 * Plugin Name: Convertful - Your Ultimate On-Site Conversion Tool 5 * Version: 2. 55 * Version: 2.6 6 6 * Plugin URI: https://convertful.com/ 7 7 * Description: All the modern on-site conversion solutions, natively integrates with all modern Email Marketing -
convertful/trunk/functions/woocommerce.php
r2525260 r2987264 54 54 function add_to_woo_cart() 55 55 { 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 } 56 61 global $woocommerce; 57 62 $product_id = $_POST['product_id']; … … 63 68 64 69 function add_woo_coupon(){ 70 conv_check_access(); 65 71 $coupon_code = $_POST['code']; // Code 66 72 $amount = $_POST['amount']; -
convertful/trunk/readme.txt
r2973034 r2987264 4 4 Requires at least: 4.0 5 5 Tested up to: 6.3 6 Stable tag: 2. 56 Stable tag: 2.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 101 101 102 102 == Changelog == 103 = 2.6 = 104 * Error Patching and Compatibility Upgrades 105 103 106 = 2.5 = 104 107 * Tested compatibility with WordPress 6.0
Note: See TracChangeset
for help on using the changeset viewer.