Plugin Directory

Changeset 2974604


Ignore:
Timestamp:
10/04/2023 08:50:21 AM (2 years ago)
Author:
tripleatechnology
Message:

releasing v2.0.11

Location:
triplea-cryptocurrency-payment-gateway-for-woocommerce
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.11/includes/Reviews.php

    r2804451 r2974604  
    4242        global $pagenow;
    4343
    44         $exclude = [ 'themes.php', 'users.php', 'tools.php', 'options-general.php', 'options-writing.php', 'options-reading.php', 'options-discussion.php', 'options-media.php', 'options-permalink.php', 'options-privacy.php', 'edit-comments.php', 'upload.php', 'media-new.php', 'admin.php', 'import.php', 'export.php', 'site-health.php', 'export-personal-data.php', 'erase-personal-data.php' ];
     44        $exclude = [ 'themes.php', 'users.php', 'tools.php', 'options-general.php', 'options-writing.php', 'options-reading.php', 'options-discussion.php', 'options-media.php', 'options-permalink.php', 'options-privacy.php', 'edit-comments.php', 'upload.php', 'media-new.php', 'admin.php', 'import.php', 'export.php', 'site-health.php', 'export-personal-data.php', 'erase-personal-data.php','profile.php','user-edit.php' ];
    4545
    46         if ( ! in_array( $pagenow, $exclude ) ) {
     46        if ( ! in_array( $pagenow, $exclude ) && current_user_can( 'administrator' ) ) {
    4747
    4848            wp_enqueue_style( 'wctriplea-admin-style' );
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.11/includes/WooCommerce/Thank_You.php

    r2804451 r2974604  
    3333    public static function triplea_change_order_received_text( $str, $order ) {
    3434
    35          if ($order->has_status( 'failed' )) {
    36           $new_str = $str . '<br>'
    37                      .'Your order was placed. However, your payment was either insufficient or not detected.';
    38           return $new_str;
    39          }
     35        if (isset($order) && $order->has_status( 'failed' )) {
     36
     37            $new_str = $str . '<br>'
     38                        .'Your order was placed. However, your payment was either insufficient or not detected.';
     39            return $new_str;
     40        }
    4041
    4142        return $str;
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.11/readme.txt

    r2945763 r2974604  
    77Requires at least: 5.5
    88Tested up to: 6.2.2
    9 Stable tag: 2.0.10
     9Stable tag: 2.0.11
    1010Requires PHP: 7.0
    1111License: GPLv2 or later
     
    109109== Changelog ==
    110110
     111= 2.0.11 =
     112Fixed: Review message will be displayed only for admin
     113Fixed: Validation for Thank you message for less payments
     114
    111115= 2.0.10 =
    112116Fixed: Updated priority for checking custom validation of the checkout form
     
    283287== Upgrade Notice ==
    284288
     289= 2.0.11 =
     290Simply install the update. No further action is needed.
     291
    285292= 2.0.10 =
    286293Simply install the update. No further action is needed.
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.11/triplea-cryptocurrency-payment-gateway-for-woocommerce.php

    r2945763 r2974604  
    1717 * Plugin URI:        https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/
    1818 * Description:       Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by TripleA.
    19  * Version:           2.0.10
     19 * Version:           2.0.11
    2020 * Author:            TripleA Team
    2121 * Author URI:        https://triple-a.io
     
    4545     * $var string
    4646     */
    47     const version = '2.0.10';
     47    const version = '2.0.11';
    4848
    4949    /*
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/includes/Reviews.php

    r2804451 r2974604  
    4242        global $pagenow;
    4343
    44         $exclude = [ 'themes.php', 'users.php', 'tools.php', 'options-general.php', 'options-writing.php', 'options-reading.php', 'options-discussion.php', 'options-media.php', 'options-permalink.php', 'options-privacy.php', 'edit-comments.php', 'upload.php', 'media-new.php', 'admin.php', 'import.php', 'export.php', 'site-health.php', 'export-personal-data.php', 'erase-personal-data.php' ];
     44        $exclude = [ 'themes.php', 'users.php', 'tools.php', 'options-general.php', 'options-writing.php', 'options-reading.php', 'options-discussion.php', 'options-media.php', 'options-permalink.php', 'options-privacy.php', 'edit-comments.php', 'upload.php', 'media-new.php', 'admin.php', 'import.php', 'export.php', 'site-health.php', 'export-personal-data.php', 'erase-personal-data.php','profile.php','user-edit.php' ];
    4545
    46         if ( ! in_array( $pagenow, $exclude ) ) {
     46        if ( ! in_array( $pagenow, $exclude ) && current_user_can( 'administrator' ) ) {
    4747
    4848            wp_enqueue_style( 'wctriplea-admin-style' );
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/includes/WooCommerce/Thank_You.php

    r2804451 r2974604  
    3333    public static function triplea_change_order_received_text( $str, $order ) {
    3434
    35          if ($order->has_status( 'failed' )) {
    36           $new_str = $str . '<br>'
    37                      .'Your order was placed. However, your payment was either insufficient or not detected.';
    38           return $new_str;
    39          }
     35        if (isset($order) && $order->has_status( 'failed' )) {
     36
     37            $new_str = $str . '<br>'
     38                        .'Your order was placed. However, your payment was either insufficient or not detected.';
     39            return $new_str;
     40        }
    4041
    4142        return $str;
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/readme.txt

    r2945763 r2974604  
    77Requires at least: 5.5
    88Tested up to: 6.2.2
    9 Stable tag: 2.0.10
     9Stable tag: 2.0.11
    1010Requires PHP: 7.0
    1111License: GPLv2 or later
     
    109109== Changelog ==
    110110
     111= 2.0.11 =
     112Fixed: Review message will be displayed only for admin
     113Fixed: Validation for Thank you message for less payments
     114
    111115= 2.0.10 =
    112116Fixed: Updated priority for checking custom validation of the checkout form
     
    283287== Upgrade Notice ==
    284288
     289= 2.0.11 =
     290Simply install the update. No further action is needed.
     291
    285292= 2.0.10 =
    286293Simply install the update. No further action is needed.
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/triplea-cryptocurrency-payment-gateway-for-woocommerce.php

    r2945763 r2974604  
    1717 * Plugin URI:        https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/
    1818 * Description:       Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by TripleA.
    19  * Version:           2.0.10
     19 * Version:           2.0.11
    2020 * Author:            TripleA Team
    2121 * Author URI:        https://triple-a.io
     
    4545     * $var string
    4646     */
    47     const version = '2.0.10';
     47    const version = '2.0.11';
    4848
    4949    /*
Note: See TracChangeset for help on using the changeset viewer.