Plugin Directory

Changeset 3076215


Ignore:
Timestamp:
04/24/2024 07:10:22 AM (21 months ago)
Author:
PerfectSolution
Message:

Update trunk/ - 7.3.2

Location:
woocommerce-quickpay
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-quickpay/tags/7.3.2/README.txt

    r3063657 r3076215  
    33Tags: gateway, woo commerce, quickpay, quick pay, gateway, integration, woocommerce, woocommerce quickpay, payment, payment gateway, psp
    44Requires at least: 4.0.0
    5 Tested up to: 6.4
     5Tested up to: 6.5
    66Stable tag: trunk
    77License: GPLv2
     
    2828
    2929== 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
    3035= 7.3.1 =
    3136* 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  
    110110     */
    111111    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                ];
    114119
    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        }
    120135    }
    121136}
  • woocommerce-quickpay/tags/7.3.2/woocommerce-quickpay.php

    r3063657 r3076215  
    44 * Plugin URI: http://wordpress.org/plugins/woocommerce-quickpay/
    55 * Description: Integrates your QuickPay payment gateway into your WooCommerce installation.
    6  * Version: 7.3.1
     6 * Version: 7.3.2
    77 * Author: Perfect Solution
    88 * Text Domain: woo-quickpay
     
    1111 * Wiki: http://quickpay.perfect-solution.dk/
    1212 * WC requires at least: 7.1.0
    13  * WC tested up to: 8.6
     13 * WC tested up to: 8.8
    1414 */
    1515
     
    1919}
    2020
    21 define( 'WCQP_VERSION', '7.3.1' );
     21define( 'WCQP_VERSION', '7.3.2' );
    2222define( 'WCQP_URL', plugins_url( __FILE__ ) );
    2323define( 'WCQP_PATH', plugin_dir_path( __FILE__ ) );
  • woocommerce-quickpay/trunk/README.txt

    r3063657 r3076215  
    33Tags: gateway, woo commerce, quickpay, quick pay, gateway, integration, woocommerce, woocommerce quickpay, payment, payment gateway, psp
    44Requires at least: 4.0.0
    5 Tested up to: 6.4
     5Tested up to: 6.5
    66Stable tag: trunk
    77License: GPLv2
     
    2828
    2929== 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
    3035= 7.3.1 =
    3136* Fix: Setting quickpay_complete_on_capture was missing from the settings UI
  • woocommerce-quickpay/trunk/classes/woocommerce-quickpay-log.php

    r2221493 r3076215  
    110110     */
    111111    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                ];
    114119
    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        }
    120135    }
    121136}
  • woocommerce-quickpay/trunk/woocommerce-quickpay.php

    r3063657 r3076215  
    44 * Plugin URI: http://wordpress.org/plugins/woocommerce-quickpay/
    55 * Description: Integrates your QuickPay payment gateway into your WooCommerce installation.
    6  * Version: 7.3.1
     6 * Version: 7.3.2
    77 * Author: Perfect Solution
    88 * Text Domain: woo-quickpay
     
    1111 * Wiki: http://quickpay.perfect-solution.dk/
    1212 * WC requires at least: 7.1.0
    13  * WC tested up to: 8.6
     13 * WC tested up to: 8.8
    1414 */
    1515
     
    1919}
    2020
    21 define( 'WCQP_VERSION', '7.3.1' );
     21define( 'WCQP_VERSION', '7.3.2' );
    2222define( 'WCQP_URL', plugins_url( __FILE__ ) );
    2323define( 'WCQP_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.