Changeset 2614673
- Timestamp:
- 10/15/2021 10:47:14 AM (4 years ago)
- Location:
- sizeme-for-woocommerce
- Files:
-
- 2 edited
- 3 copied
-
tags/2.2.2 (copied) (copied from sizeme-for-woocommerce/trunk)
-
tags/2.2.2/readme.txt (copied) (copied from sizeme-for-woocommerce/trunk/readme.txt) (2 diffs)
-
tags/2.2.2/sizeme-for-woocommerce.php (copied) (copied from sizeme-for-woocommerce/trunk/sizeme-for-woocommerce.php) (6 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sizeme-for-woocommerce.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sizeme-for-woocommerce/tags/2.2.2/readme.txt
r2303732 r2614673 3 3 Tags: sizeme, measurements, sizeguide, size guide, size recommendations 4 4 Requires at least: 3.8 5 Tested up to: 5. 4.16 Stable tag: 2.2. 15 Tested up to: 5.8.1 6 Stable tag: 2.2.2 7 7 Requires PHP: 5.2.4 8 8 WC requires at least: 2.5 9 WC tested up to: 4.1.09 WC tested up to: 5.8.0 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 84 84 == Changelog == 85 = 2.2.2 = 86 * Improved cookie handling again 87 85 88 = 2.2.1 = 86 89 * Cookie handling improved -
sizeme-for-woocommerce/tags/2.2.2/sizeme-for-woocommerce.php
r2303732 r2614673 10 10 * Plugin Name: SizeMe for WooCommerce 11 11 * Description: SizeMe is a web store plugin that enables your consumers to input their measurements and get personalised fit recommendations based on actual product data. 12 * Version: 2.2. 112 * Version: 2.2.2 13 13 * Author: SizeMe Ltd 14 14 * Author URI: https://www.sizeme.com/ … … 17 17 * 18 18 * WC requires at least: 2.5 19 * WC tested up to: 4.1.019 * WC tested up to: 5.8.0 20 20 * 21 21 * SizeMe for WooCommerce is free software: you can redistribute it and/or modify … … 54 54 * @var string VERSION The plugin version. 55 55 */ 56 const VERSION = '2.2. 1';56 const VERSION = '2.2.2'; 57 57 58 58 /** … … 338 338 $this->clear_sm_cookie( self::COOKIE_ACTION ); 339 339 } 340 } else {341 $this->clear_sm_cookie( self::COOKIE_ACTION );342 340 } 343 341 } … … 386 384 $val = md5(rand().microtime()); 387 385 $_COOKIE[ self::COOKIE_SESSION ] = $val; 388 setcookie( self::COOKIE_SESSION , $val, strtotime( '+30 days' ), '/' );386 if ( !headers_sent() ) setcookie( self::COOKIE_SESSION , $val, strtotime( '+30 days' ), '/' ); 389 387 } else { 390 388 $val = $_COOKIE[ self::COOKIE_SESSION ]; … … 415 413 public function clear_sm_cookie($cookie_name) { 416 414 unset( $_COOKIE[ $cookie_name ] ); 417 setcookie( $cookie_name , '', time() - 3600 , '/' );415 if ( !headers_sent() ) setcookie( $cookie_name , '', time() - 3600 , '/' ); 418 416 return; 419 417 } -
sizeme-for-woocommerce/trunk/readme.txt
r2303732 r2614673 3 3 Tags: sizeme, measurements, sizeguide, size guide, size recommendations 4 4 Requires at least: 3.8 5 Tested up to: 5. 4.16 Stable tag: 2.2. 15 Tested up to: 5.8.1 6 Stable tag: 2.2.2 7 7 Requires PHP: 5.2.4 8 8 WC requires at least: 2.5 9 WC tested up to: 4.1.09 WC tested up to: 5.8.0 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 84 84 == Changelog == 85 = 2.2.2 = 86 * Improved cookie handling again 87 85 88 = 2.2.1 = 86 89 * Cookie handling improved -
sizeme-for-woocommerce/trunk/sizeme-for-woocommerce.php
r2303732 r2614673 10 10 * Plugin Name: SizeMe for WooCommerce 11 11 * Description: SizeMe is a web store plugin that enables your consumers to input their measurements and get personalised fit recommendations based on actual product data. 12 * Version: 2.2. 112 * Version: 2.2.2 13 13 * Author: SizeMe Ltd 14 14 * Author URI: https://www.sizeme.com/ … … 17 17 * 18 18 * WC requires at least: 2.5 19 * WC tested up to: 4.1.019 * WC tested up to: 5.8.0 20 20 * 21 21 * SizeMe for WooCommerce is free software: you can redistribute it and/or modify … … 54 54 * @var string VERSION The plugin version. 55 55 */ 56 const VERSION = '2.2. 1';56 const VERSION = '2.2.2'; 57 57 58 58 /** … … 338 338 $this->clear_sm_cookie( self::COOKIE_ACTION ); 339 339 } 340 } else {341 $this->clear_sm_cookie( self::COOKIE_ACTION );342 340 } 343 341 } … … 386 384 $val = md5(rand().microtime()); 387 385 $_COOKIE[ self::COOKIE_SESSION ] = $val; 388 setcookie( self::COOKIE_SESSION , $val, strtotime( '+30 days' ), '/' );386 if ( !headers_sent() ) setcookie( self::COOKIE_SESSION , $val, strtotime( '+30 days' ), '/' ); 389 387 } else { 390 388 $val = $_COOKIE[ self::COOKIE_SESSION ]; … … 415 413 public function clear_sm_cookie($cookie_name) { 416 414 unset( $_COOKIE[ $cookie_name ] ); 417 setcookie( $cookie_name , '', time() - 3600 , '/' );415 if ( !headers_sent() ) setcookie( $cookie_name , '', time() - 3600 , '/' ); 418 416 return; 419 417 }
Note: See TracChangeset
for help on using the changeset viewer.