Plugin Directory

Changeset 2564178


Ignore:
Timestamp:
07/14/2021 08:23:03 AM (5 years ago)
Author:
zipmoney
Message:

fixed broken html issue in admin order detail page

Location:
zipmoney-payments-woocommerce
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • zipmoney-payments-woocommerce/tags/2.3.5/README.txt

    r2564173 r2564178  
    44Requires at least: WP 4.0
    55Tested up to: 5.6
    6 Stable tag: 2.3.4
     6Stable tag: 2.3.5
    77License: GPLv2 or later License http://www.gnu.org/licenses/gpl-2.0.html
    88
     
    174174* added translation for mexico
    175175* fixed some widget related issue
     176
     177= 2.3.5 =
     178* Fixed broken html issue in admin order details page
  • zipmoney-payments-woocommerce/tags/2.3.5/includes/class-wc-zipmoney-payment-gateway.php

    r2564173 r2564178  
    2424    public $description = 'Own the way you pay';
    2525
    26     public $version = '2.3.4';
     26    public $version = '2.3.5';
    2727
    2828    public $supports = array('products', 'refunds');
     
    7676        add_action('admin_notices', array($this, 'invalid_key_error_notice'));
    7777        add_action('admin_notices', array($this, 'show_notices'));
    78         add_filter('woocommerce_order_get_payment_method_title', array($this, 'zip_payment_title'));
     78        add_filter('woocommerce_order_get_payment_method_title', array($this, 'get_title'));
    7979        add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_action_links'));
    8080    }
     
    9797            return "<span data-zm-widget='inline' data-zm-asset='checkouttitle'>".__(" Zip - Own it now, pay later ","zippayment")." </span>";
    9898        }
    99     }
    100 
    101     public function zip_payment_title($title)
    102     {
    103         if (strcmp("<span data-zm-widget='inline' data-zm-asset='checkouttitle'>".__(" Zip - Own it now, pay later ","zippayment")."</span>", $title) == 0)
    104             return strip_tags($title);
    105 
    106         return $title;
    10799    }
    108100
  • zipmoney-payments-woocommerce/tags/2.3.5/zipmoney-payment-gateway.php

    r2564173 r2564178  
    77Give your customers the power to pay later, interest free and watch your sales grow.
    88Take advantage of our fast-growing customer base, proven revenue uplift, fast and simple integration.
    9  * Version:           2.3.4
     9 * Version:           2.3.5
    1010 * Author:            Zip
    1111 * Author URI:        https://www.zip.co/
     
    1515 * WC requires at least: 2.6.13
    1616 * WC tested up to: 4.8.0
    17  * @version  2.3.4
     17 * @version  2.3.5
    1818 * @package  Zip
    1919 * @author   Zip
  • zipmoney-payments-woocommerce/trunk/README.txt

    r2560395 r2564178  
    44Requires at least: WP 4.0
    55Tested up to: 5.6
    6 Stable tag: 2.3.4
     6Stable tag: 2.3.5
    77License: GPLv2 or later License http://www.gnu.org/licenses/gpl-2.0.html
    88
     
    174174* added translation for mexico
    175175* fixed some widget related issue
     176
     177= 2.3.5 =
     178* Fixed broken html issue in admin order details page
  • zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway.php

    r2560395 r2564178  
    2424    public $description = 'Own the way you pay';
    2525
    26     public $version = '2.3.4';
     26    public $version = '2.3.5';
    2727
    2828    public $supports = array('products', 'refunds');
     
    7676        add_action('admin_notices', array($this, 'invalid_key_error_notice'));
    7777        add_action('admin_notices', array($this, 'show_notices'));
    78         add_filter('woocommerce_order_get_payment_method_title', array($this, 'zip_payment_title'));
     78        add_filter('woocommerce_order_get_payment_method_title', array($this, 'get_title'));
    7979        add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_action_links'));
    8080    }
     
    9797            return "<span data-zm-widget='inline' data-zm-asset='checkouttitle'>".__(" Zip - Own it now, pay later ","zippayment")." </span>";
    9898        }
    99     }
    100 
    101     public function zip_payment_title($title)
    102     {
    103         if (strcmp("<span data-zm-widget='inline' data-zm-asset='checkouttitle'>".__(" Zip - Own it now, pay later ","zippayment")."</span>", $title) == 0)
    104             return strip_tags($title);
    105 
    106         return $title;
    10799    }
    108100
  • zipmoney-payments-woocommerce/trunk/zipmoney-payment-gateway.php

    r2560395 r2564178  
    77Give your customers the power to pay later, interest free and watch your sales grow.
    88Take advantage of our fast-growing customer base, proven revenue uplift, fast and simple integration.
    9  * Version:           2.3.4
     9 * Version:           2.3.5
    1010 * Author:            Zip
    1111 * Author URI:        https://www.zip.co/
     
    1515 * WC requires at least: 2.6.13
    1616 * WC tested up to: 4.8.0
    17  * @version  2.3.4
     17 * @version  2.3.5
    1818 * @package  Zip
    1919 * @author   Zip
Note: See TracChangeset for help on using the changeset viewer.