Changeset 3214934
- Timestamp:
- 12/30/2024 03:40:48 PM (13 months ago)
- Location:
- woocommerce-cloak-affiliate-links
- Files:
-
- 4 edited
- 1 copied
-
tags/1.0.36 (copied) (copied from woocommerce-cloak-affiliate-links/trunk)
-
tags/1.0.36/readme.txt (modified) (2 diffs)
-
tags/1.0.36/woocommerce-cloak-affiliate-links.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-cloak-affiliate-links.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-cloak-affiliate-links/tags/1.0.36/readme.txt
r3113243 r3214934 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 8 Requires at least: 4.7.0 9 Tested up to: 6. 6-RC210 Stable tag: 1.0.3 59 Tested up to: 6.7 10 Stable tag: 1.0.36 11 11 12 12 Cloak your WooCommerce external & affiliate links. … … 46 46 47 47 == Changelog == 48 49 = 1.0.36 - 2024/12/30 = 50 * Fixed CSRF issue 48 51 49 52 = 1.0.35 - 2024/07/05 = -
woocommerce-cloak-affiliate-links/tags/1.0.36/woocommerce-cloak-affiliate-links.php
r3113243 r3214934 8 8 License: GPL v3 9 9 Requires at least: 4.7.0 10 Tested up to: 6. 6-RC211 Version: 1.0.3 510 Tested up to: 6.7 11 Version: 1.0.36 12 12 13 13 WC requires at least: 3.0 … … 15 15 16 16 WooCommerce Cloak Affiliate Links plugin 17 Copyright (C) 202 4, Datafeedr - [email protected]17 Copyright (C) 2025, Datafeedr - [email protected] 18 18 19 19 This program is free software: you can redistribute it and/or modify … … 38 38 * Define constants. 39 39 */ 40 define( 'WCCAL_VERSION', '1.0.3 5' );40 define( 'WCCAL_VERSION', '1.0.36' ); 41 41 define( 'WCCAL_URL', plugin_dir_url( __FILE__ ) ); 42 42 define( 'WCCAL_PATH', plugin_dir_path( __FILE__ ) ); … … 395 395 */ 396 396 function permalink_settings_save() { 397 397 398 if ( ! is_admin() || ! current_user_can( 'manage_options' ) ) { 398 399 return; 399 400 } 401 400 402 if ( isset( $_POST['wccal_affiliate_base'] ) ) { 403 404 check_admin_referer( 'update-permalink' ); 405 401 406 $wccal_affiliate_base = wc_clean( $_POST['wccal_affiliate_base'] ); 402 407 $permalinks = get_option( 'wccal_permalinks' ); 408 403 409 if ( ! $permalinks ) { 404 410 $permalinks = array(); 405 411 } 412 406 413 $permalinks['affiliate_base'] = untrailingslashit( $wccal_affiliate_base ); 414 407 415 update_option( 'wccal_permalinks', $permalinks ); 408 416 } -
woocommerce-cloak-affiliate-links/trunk/readme.txt
r3113243 r3214934 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html 8 8 Requires at least: 4.7.0 9 Tested up to: 6. 6-RC210 Stable tag: 1.0.3 59 Tested up to: 6.7 10 Stable tag: 1.0.36 11 11 12 12 Cloak your WooCommerce external & affiliate links. … … 46 46 47 47 == Changelog == 48 49 = 1.0.36 - 2024/12/30 = 50 * Fixed CSRF issue 48 51 49 52 = 1.0.35 - 2024/07/05 = -
woocommerce-cloak-affiliate-links/trunk/woocommerce-cloak-affiliate-links.php
r3113243 r3214934 8 8 License: GPL v3 9 9 Requires at least: 4.7.0 10 Tested up to: 6. 6-RC211 Version: 1.0.3 510 Tested up to: 6.7 11 Version: 1.0.36 12 12 13 13 WC requires at least: 3.0 … … 15 15 16 16 WooCommerce Cloak Affiliate Links plugin 17 Copyright (C) 202 4, Datafeedr - [email protected]17 Copyright (C) 2025, Datafeedr - [email protected] 18 18 19 19 This program is free software: you can redistribute it and/or modify … … 38 38 * Define constants. 39 39 */ 40 define( 'WCCAL_VERSION', '1.0.3 5' );40 define( 'WCCAL_VERSION', '1.0.36' ); 41 41 define( 'WCCAL_URL', plugin_dir_url( __FILE__ ) ); 42 42 define( 'WCCAL_PATH', plugin_dir_path( __FILE__ ) ); … … 395 395 */ 396 396 function permalink_settings_save() { 397 397 398 if ( ! is_admin() || ! current_user_can( 'manage_options' ) ) { 398 399 return; 399 400 } 401 400 402 if ( isset( $_POST['wccal_affiliate_base'] ) ) { 403 404 check_admin_referer( 'update-permalink' ); 405 401 406 $wccal_affiliate_base = wc_clean( $_POST['wccal_affiliate_base'] ); 402 407 $permalinks = get_option( 'wccal_permalinks' ); 408 403 409 if ( ! $permalinks ) { 404 410 $permalinks = array(); 405 411 } 412 406 413 $permalinks['affiliate_base'] = untrailingslashit( $wccal_affiliate_base ); 414 407 415 update_option( 'wccal_permalinks', $permalinks ); 408 416 }
Note: See TracChangeset
for help on using the changeset viewer.