Plugin Directory

Changeset 2983151


Ignore:
Timestamp:
10/24/2023 02:36:15 PM (2 years ago)
Author:
sprinque
Message:

v.1.7.1

Location:
sprinque
Files:
2 edited
30 copied

Legend:

Unmodified
Added
Removed
  • sprinque/tags/1.7.1/readme.txt

    r2982514 r2983151  
    66Tested up to: 6.3.1
    77Requires PHP: 5.3
    8 Stable tag: 1.7.0
     8Stable tag: 1.7.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53= 1.7.1 - October 24, 2023 =
     54* Add correct check for `wc_order_item_fee` object.
    5255
    5356= 1.7.0 - October 23, 2023 =
  • sprinque/tags/1.7.1/sprinque.php

    r2982514 r2983151  
    55Description: Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention.
    66Author: Sprinque
    7 Version: 1.7.0
     7Version: 1.7.1
    88Text Domain: sprinque
    99Domain Path: /languages
    1010*/
    1111
    12 define( 'PLUGIN_SRINQUE_VERSION', '1.7.0' );
     12define( 'PLUGIN_SRINQUE_VERSION', '1.7.1' );
    1313define( 'PLUGIN_SRINQUE_DIR', __DIR__ );
    1414define( 'PLUGIN_SRINQUE_PATH', plugins_url( '', __FILE__ ) );
     
    291291        if( ! empty( $fees ) && is_array( $fees ) ) {
    292292            foreach ( $fees as $fee ) {
    293                 if( isset( $fee->name ) && $fee->name == $fee_name ) {
     293                if( isset( $fee->name ) && $fee->name === $fee_name ) {
     294                    return true;
     295                }
     296                if( method_exists( $fee, 'get_name' ) && $fee->get_name() === $fee_name ) {
    294297                    return true;
    295298                }
  • sprinque/trunk/readme.txt

    r2982514 r2983151  
    66Tested up to: 6.3.1
    77Requires PHP: 5.3
    8 Stable tag: 1.7.0
     8Stable tag: 1.7.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53= 1.7.1 - October 24, 2023 =
     54* Add correct check for `wc_order_item_fee` object.
    5255
    5356= 1.7.0 - October 23, 2023 =
  • sprinque/trunk/sprinque.php

    r2982514 r2983151  
    55Description: Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention.
    66Author: Sprinque
    7 Version: 1.7.0
     7Version: 1.7.1
    88Text Domain: sprinque
    99Domain Path: /languages
    1010*/
    1111
    12 define( 'PLUGIN_SRINQUE_VERSION', '1.7.0' );
     12define( 'PLUGIN_SRINQUE_VERSION', '1.7.1' );
    1313define( 'PLUGIN_SRINQUE_DIR', __DIR__ );
    1414define( 'PLUGIN_SRINQUE_PATH', plugins_url( '', __FILE__ ) );
     
    291291        if( ! empty( $fees ) && is_array( $fees ) ) {
    292292            foreach ( $fees as $fee ) {
    293                 if( isset( $fee->name ) && $fee->name == $fee_name ) {
     293                if( isset( $fee->name ) && $fee->name === $fee_name ) {
     294                    return true;
     295                }
     296                if( method_exists( $fee, 'get_name' ) && $fee->get_name() === $fee_name ) {
    294297                    return true;
    295298                }
Note: See TracChangeset for help on using the changeset viewer.