Changeset 3076215
- Timestamp:
- 04/24/2024 07:10:22 AM (21 months ago)
- Location:
- woocommerce-quickpay
- Files:
-
- 6 edited
- 1 copied
-
tags/7.3.2 (copied) (copied from woocommerce-quickpay/trunk)
-
tags/7.3.2/README.txt (modified) (2 diffs)
-
tags/7.3.2/classes/woocommerce-quickpay-log.php (modified) (1 diff)
-
tags/7.3.2/woocommerce-quickpay.php (modified) (3 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/classes/woocommerce-quickpay-log.php (modified) (1 diff)
-
trunk/woocommerce-quickpay.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-quickpay/tags/7.3.2/README.txt
r3063657 r3076215 3 3 Tags: gateway, woo commerce, quickpay, quick pay, gateway, integration, woocommerce, woocommerce quickpay, payment, payment gateway, psp 4 4 Requires at least: 4.0.0 5 Tested up to: 6. 45 Tested up to: 6.5 6 6 Stable tag: trunk 7 7 License: GPLv2 … … 28 28 29 29 == Changelog == 30 = 7.3.2 = 31 * Fix: Bump tested with version to 6.5 (WP) 32 * Fix: Bump tested with version to 8.8 (WC) 33 * Fix: Deprecation notice for wc_get_log_file_path in 8.6 and above 34 30 35 = 7.3.1 = 31 36 * Fix: Setting quickpay_complete_on_capture was missing from the settings UI -
woocommerce-quickpay/tags/7.3.2/classes/woocommerce-quickpay-log.php
r2221493 r3076215 110 110 */ 111 111 public function get_admin_link() { 112 $log_path = wc_get_log_file_path( $this->_domain ); 113 $log_path_parts = explode( '/', $log_path ); 112 if ( defined('WC_VERSION')) { 113 if (version_compare(WC_VERSION, '8.6', '>=')) { 114 $args = [ 115 'page' => 'wc-status', 116 'tab' => 'logs', 117 'source' => $this->_domain 118 ]; 114 119 115 return add_query_arg( [ 116 'page' => 'wc-status', 117 'tab' => 'logs', 118 'log_file' => end( $log_path_parts ) 119 ], admin_url( 'admin.php' ) ); 120 } else { 121 // Fallback 122 $log_path = wc_get_log_file_path( $this->_domain ); 123 $log_path_parts = explode( '/', $log_path ); 124 125 $args = [ 126 'page' => 'wc-status', 127 'tab' => 'logs', 128 'log_file' => end( $log_path_parts ) 129 ]; 130 } 131 132 133 return add_query_arg( $args, admin_url( 'admin.php' ) ); 134 } 120 135 } 121 136 } -
woocommerce-quickpay/tags/7.3.2/woocommerce-quickpay.php
r3063657 r3076215 4 4 * Plugin URI: http://wordpress.org/plugins/woocommerce-quickpay/ 5 5 * Description: Integrates your QuickPay payment gateway into your WooCommerce installation. 6 * Version: 7.3. 16 * Version: 7.3.2 7 7 * Author: Perfect Solution 8 8 * Text Domain: woo-quickpay … … 11 11 * Wiki: http://quickpay.perfect-solution.dk/ 12 12 * WC requires at least: 7.1.0 13 * WC tested up to: 8. 613 * WC tested up to: 8.8 14 14 */ 15 15 … … 19 19 } 20 20 21 define( 'WCQP_VERSION', '7.3. 1' );21 define( 'WCQP_VERSION', '7.3.2' ); 22 22 define( 'WCQP_URL', plugins_url( __FILE__ ) ); 23 23 define( 'WCQP_PATH', plugin_dir_path( __FILE__ ) ); -
woocommerce-quickpay/trunk/README.txt
r3063657 r3076215 3 3 Tags: gateway, woo commerce, quickpay, quick pay, gateway, integration, woocommerce, woocommerce quickpay, payment, payment gateway, psp 4 4 Requires at least: 4.0.0 5 Tested up to: 6. 45 Tested up to: 6.5 6 6 Stable tag: trunk 7 7 License: GPLv2 … … 28 28 29 29 == Changelog == 30 = 7.3.2 = 31 * Fix: Bump tested with version to 6.5 (WP) 32 * Fix: Bump tested with version to 8.8 (WC) 33 * Fix: Deprecation notice for wc_get_log_file_path in 8.6 and above 34 30 35 = 7.3.1 = 31 36 * Fix: Setting quickpay_complete_on_capture was missing from the settings UI -
woocommerce-quickpay/trunk/classes/woocommerce-quickpay-log.php
r2221493 r3076215 110 110 */ 111 111 public function get_admin_link() { 112 $log_path = wc_get_log_file_path( $this->_domain ); 113 $log_path_parts = explode( '/', $log_path ); 112 if ( defined('WC_VERSION')) { 113 if (version_compare(WC_VERSION, '8.6', '>=')) { 114 $args = [ 115 'page' => 'wc-status', 116 'tab' => 'logs', 117 'source' => $this->_domain 118 ]; 114 119 115 return add_query_arg( [ 116 'page' => 'wc-status', 117 'tab' => 'logs', 118 'log_file' => end( $log_path_parts ) 119 ], admin_url( 'admin.php' ) ); 120 } else { 121 // Fallback 122 $log_path = wc_get_log_file_path( $this->_domain ); 123 $log_path_parts = explode( '/', $log_path ); 124 125 $args = [ 126 'page' => 'wc-status', 127 'tab' => 'logs', 128 'log_file' => end( $log_path_parts ) 129 ]; 130 } 131 132 133 return add_query_arg( $args, admin_url( 'admin.php' ) ); 134 } 120 135 } 121 136 } -
woocommerce-quickpay/trunk/woocommerce-quickpay.php
r3063657 r3076215 4 4 * Plugin URI: http://wordpress.org/plugins/woocommerce-quickpay/ 5 5 * Description: Integrates your QuickPay payment gateway into your WooCommerce installation. 6 * Version: 7.3. 16 * Version: 7.3.2 7 7 * Author: Perfect Solution 8 8 * Text Domain: woo-quickpay … … 11 11 * Wiki: http://quickpay.perfect-solution.dk/ 12 12 * WC requires at least: 7.1.0 13 * WC tested up to: 8. 613 * WC tested up to: 8.8 14 14 */ 15 15 … … 19 19 } 20 20 21 define( 'WCQP_VERSION', '7.3. 1' );21 define( 'WCQP_VERSION', '7.3.2' ); 22 22 define( 'WCQP_URL', plugins_url( __FILE__ ) ); 23 23 define( 'WCQP_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.