Changeset 2694405
- Timestamp:
- 03/15/2022 05:54:40 PM (4 years ago)
- Location:
- renoon-tracking-for-woocommerce/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
includes/class-renoon-tracking-pro.php (modified) (1 diff)
-
public/class-renoon-tracking-pro-public.php (modified) (6 diffs)
-
renoon-tracking-pro.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
renoon-tracking-for-woocommerce/trunk/README.txt
r2691578 r2694405 4 4 Requires at least: 3.1 5 5 Tested up to: 5.9 6 Stable tag: 1.1. 36 Stable tag: 1.1.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 40 40 == Changelog == 41 = 1.1.4 = 42 -fixed sanitization 41 43 42 44 = 1.1.1 = -
renoon-tracking-for-woocommerce/trunk/includes/class-renoon-tracking-pro.php
r2691578 r2694405 71 71 $this->version = RENOON_TRACKING_PRO_VERSION; 72 72 } else { 73 $this->version = '1.1. 3';73 $this->version = '1.1.4'; 74 74 } 75 75 $this->plugin_name = $this->renoon_tracking = 'renoon-tracking-pro'; -
renoon-tracking-for-woocommerce/trunk/public/class-renoon-tracking-pro-public.php
r2691578 r2694405 284 284 285 285 if(isset($_COOKIE[$incoming_click_id])){ 286 $params['click_id'] = sanitize_text_field($_COOKIE[$incoming_click_id]);286 $params['click_id'] = $_COOKIE[$incoming_click_id]; 287 287 } 288 288 … … 331 331 $fields = array("amount"=>"order_total","adv_order_id"=>"order_number"); 332 332 $fields = $this->set_parameters($fields); 333 $fields['adv_user_id'] = sanitize_text_field($this->options['renoon-merchant-id']);333 $fields['adv_user_id'] = $this->options['renoon-merchant-id']; 334 334 335 335 return $fields; … … 349 349 350 350 if(isset($_COOKIE[$incoming_click_id])){ 351 $this->postback_params[$out_click_id] = sanitize_text_field($_COOKIE[$incoming_click_id]);351 $this->postback_params[$out_click_id] = $_COOKIE[$incoming_click_id]; 352 352 353 353 if(strlen($this->postback_params[$out_click_id])){ … … 365 365 foreach($params as $key => $value){ 366 366 if($count==0){ 367 $query=$key."=". sanitize_text_field($value);367 $query=$key."=".$value; 368 368 }else{ 369 369 $and ="&"; … … 371 371 $and="&"; 372 372 } 373 $query.=$and.$key."=". sanitize_text_field($value);373 $query.=$and.$key."=".$value; 374 374 } 375 375 $count++; … … 404 404 setcookie("rencf",1,0,"/",$host); 405 405 406 $this->postback_url = esc_url($this->postback_url."?".$this->build_query_string($this->postback_params));406 $this->postback_url = $this->postback_url."?".$this->build_query_string($this->postback_params); 407 407 408 408 $response = wp_remote_get($this->postback_url,$args); -
renoon-tracking-for-woocommerce/trunk/renoon-tracking-pro.php
r2691578 r2694405 17 17 * Plugin URI: https://renoon.com/partners/woocommerce-plugin 18 18 * Description: This plugin is for renoon tracking for WooCommerce. It allows Renoon merchants to to track sales from the renoon market place from their WooCommerce Store 19 * Version: 1.1. 319 * Version: 1.1.4 20 20 * Author: Renoon 21 21 * Author URI: https://www.renoon.com … … 38 38 * Rename this for your plugin and update it as you release new versions. 39 39 */ 40 define( 'RENOON_TRACKING_PRO_VERSION', '1.1. 3' );40 define( 'RENOON_TRACKING_PRO_VERSION', '1.1.4' ); 41 41 42 42 /**
Note: See TracChangeset
for help on using the changeset viewer.