🔒 EXCLUSIVE: Changeset/ - Collection

Changeset 2347941


Ignore:
Timestamp:
07/28/2020 04:11:57 PM (5 years ago)
Author:
jluisfreitas
Message:

add credit card icon

Location:
eupago-for-woocommerce
Files:
1 deleted
3 edited
21 copied

Legend:

Unmodified
Added
Removed
  • eupago-for-woocommerce/tags/2.0.7/eupago-for-woocommerce.php

    r2230205 r2347941  
    44* Plugin URI: http://www.webatual.pt
    55* Description: This plugin allows Portuguese costumers to pay WooCommerce orders with Multibanco, PayShop and MBWAY using the euPago gateway.
    6 * Version: 2.0.6
     6* Version: 2.0.7
    77* Author: WebAtual
    88* Author URI: http://www.webatual.pt
    99* Text Domain: eupago-for-woocommerce
    1010* Domain Path: /lang
    11 * WC tested up to: 3.8.1
     11* WC tested up to: 4.3.1
    1212**/
    1313
     
    2121        * @var string
    2222        */
    23         const VERSION = '2.0.6';
     23        const VERSION = '2.0.7';
    2424
    2525        /**
  • eupago-for-woocommerce/tags/2.0.7/includes/class-wc-eupago-cc.php

    r2189184 r2347941  
    2121      $this->id = 'eupago_cc';
    2222
    23       $this->icon = plugins_url('images/cc_icon.png', dirname(__FILE__));
     23      $this->icon = plugins_url('images/cc_icon.jpg', dirname(__FILE__));
    2424      $this->has_fields = false;
    2525      $this->method_title = __('Credit Card (EuPago)', 'eupago-for-woocommerce');
     
    143143    */
    144144    public function get_icon() {
    145       // $alt = (function_exists('icl_object_id') ? icl_t($this->id, $this->id.'_title', $this->title) : $this->title);
    146       $icon_html = '';
     145      $alt = (function_exists('icl_object_id') ? icl_t($this->id, $this->id . '_title', $this->title) : $this->title);
     146      $icon_html = '<img src="' . esc_attr($this->icon) . '" alt="' . esc_attr($alt) . '" />';
    147147      return apply_filters('woocommerce_gateway_icon', $icon_html, $this->id);
    148148    }
  • eupago-for-woocommerce/tags/2.0.7/readme.txt

    r2230205 r2347941  
    55Plugin URI: https://www.webatual.pt
    66Requires at least: 4.4
    7 Tested up to: 5.2.4
    8 Stable tag: 2.0.6
     7Tested up to: 5.4.2
     8Stable tag: 2.0.7
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4848== Changelog ==