Changeset 2928606
- Timestamp:
- 06/20/2023 12:52:23 PM (3 years ago)
- Location:
- cardgate
- Files:
-
- 4 edited
- 1 copied
-
tags/3.1.25 (copied) (copied from cardgate/trunk)
-
tags/3.1.25/cardgate.php (modified) (4 diffs)
-
tags/3.1.25/readme.txt (modified) (2 diffs)
-
trunk/cardgate.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cardgate/tags/3.1.25/cardgate.php
r2846253 r2928606 7 7 * Author: CardGate 8 8 * Author URI: https://www.cardgate.com 9 * Version: 3.1.2 49 * Version: 3.1.25 10 10 * Text Domain: cardgate 11 11 * Domain Path: /i18n/languages 12 12 * Requires at least: 4.4 13 13 * WC requires at least: 3.0.0 14 * WC tested up to: 7. 2.214 * WC tested up to: 7.8.0 15 15 * License: GPLv3 or later 16 16 */ … … 21 21 22 22 protected $_Lang = NULL; 23 23 protected $current_gateway_title = ''; 24 protected $current_gateway_extra_charges = ''; 25 protected $plugin_url; 24 26 /** 25 27 * Initialize plug-in … … 28 30 // Set up localisation. 29 31 $this->load_plugin_textdomain(); 30 $this-> current_gateway_title = '';31 $this->current_gateway_extra_charges = ''; 32 $this->set_plugin_url(); 33 32 34 add_action('admin_head', array($this,'add_cgform_fields')); 33 35 add_action('woocommerce_cart_calculate_fees', array($this,'calculate_totals'), 10, 1); … … 819 821 820 822 function load_cg_script() { 821 wp_enqueue_script('wc-add-extra-charges', $this->plugin_url (). '/assets/app.js', array(823 wp_enqueue_script('wc-add-extra-charges', $this->plugin_url . '/assets/app.js', array( 822 824 'wc-checkout' 823 825 ), false, true); 824 826 } 825 827 826 public function plugin_url() {827 return$this->plugin_url = untrailingslashit(plugins_url('/', __FILE__));828 public function set_plugin_url() { 829 $this->plugin_url = untrailingslashit(plugins_url('/', __FILE__)); 828 830 } 829 831 -
cardgate/tags/3.1.25/readme.txt
r2906557 r2928606 5 5 Requires at least: 4.4 6 6 Tested up to: 6.2 7 Stable tag: 3.1.2 47 Stable tag: 3.1.25 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 75 75 76 76 == Changelog == 77 78 = 3.1.25 = 79 * Fix: deprecated dynamic properties 77 80 78 81 = 3.1.24 = -
cardgate/trunk/cardgate.php
r2846253 r2928606 7 7 * Author: CardGate 8 8 * Author URI: https://www.cardgate.com 9 * Version: 3.1.2 49 * Version: 3.1.25 10 10 * Text Domain: cardgate 11 11 * Domain Path: /i18n/languages 12 12 * Requires at least: 4.4 13 13 * WC requires at least: 3.0.0 14 * WC tested up to: 7. 2.214 * WC tested up to: 7.8.0 15 15 * License: GPLv3 or later 16 16 */ … … 21 21 22 22 protected $_Lang = NULL; 23 23 protected $current_gateway_title = ''; 24 protected $current_gateway_extra_charges = ''; 25 protected $plugin_url; 24 26 /** 25 27 * Initialize plug-in … … 28 30 // Set up localisation. 29 31 $this->load_plugin_textdomain(); 30 $this-> current_gateway_title = '';31 $this->current_gateway_extra_charges = ''; 32 $this->set_plugin_url(); 33 32 34 add_action('admin_head', array($this,'add_cgform_fields')); 33 35 add_action('woocommerce_cart_calculate_fees', array($this,'calculate_totals'), 10, 1); … … 819 821 820 822 function load_cg_script() { 821 wp_enqueue_script('wc-add-extra-charges', $this->plugin_url (). '/assets/app.js', array(823 wp_enqueue_script('wc-add-extra-charges', $this->plugin_url . '/assets/app.js', array( 822 824 'wc-checkout' 823 825 ), false, true); 824 826 } 825 827 826 public function plugin_url() {827 return$this->plugin_url = untrailingslashit(plugins_url('/', __FILE__));828 public function set_plugin_url() { 829 $this->plugin_url = untrailingslashit(plugins_url('/', __FILE__)); 828 830 } 829 831 -
cardgate/trunk/readme.txt
r2906557 r2928606 5 5 Requires at least: 4.4 6 6 Tested up to: 6.2 7 Stable tag: 3.1.2 47 Stable tag: 3.1.25 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 75 75 76 76 == Changelog == 77 78 = 3.1.25 = 79 * Fix: deprecated dynamic properties 77 80 78 81 = 3.1.24 =
Note: See TracChangeset
for help on using the changeset viewer.