Plugin Directory

Changeset 2257349


Ignore:
Timestamp:
03/09/2020 11:03:30 AM (5 years ago)
Author:
paybox
Message:

0.9.8.8 release: Shortening api names

Location:
e-transactions-wc/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • e-transactions-wc/trunk/class/wc-etransactions-standard-gateway.php

    r2240388 r2257349  
    11<?php
    22
    3 class WC_Etransactions_Standard_Gateway extends WC_Etransactions_Abstract_Gateway {
     3class WC_EStdGw extends WC_Etransactions_Abstract_Gateway {
    44    protected $defaultTitle = 'E-Transactions payment';
    55    protected $defaultDesc = 'xxxx';
  • e-transactions-wc/trunk/class/wc-etransactions-threetime-gateway.php

    r2240388 r2257349  
    11<?php
    22
    3 class WC_Etransactions_Threetime_Gateway extends WC_Etransactions_Abstract_Gateway {
     3class WC_E3Gw extends WC_Etransactions_Abstract_Gateway {
    44    protected $defaultTitle = 'E-Transactions 3 times payment';
    55    protected $defaultDesc = 'xxxx';
  • e-transactions-wc/trunk/readme.txt

    r2248284 r2257349  
    55Requires at least: 3.0.1
    66Tested up to: 5.3.2
    7 Stable tag: 0.9.8.8
     7Stable tag: 0.9.8.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6868
    6969== Changelog ==
     70= 0.9.8.9 =
     71shortening long api names for plugin
     72
    7073= 0.9.8.8 =
    7174fixing Woocommerce active detection mechanism
  • e-transactions-wc/trunk/wc-etransactions.php

    r2248284 r2257349  
    33 * Plugin Name: E-Transactions
    44 * Description: E-Transactions gateway payment plugins for WooCommerce
    5  * Version: 0.9.8.8
     5 * Version: 0.9.8.9
    66 * Author: E-Transactions
    77 * Author URI: http://www.e-transactions.fr
     
    9999
    100100function wc_etransactions_register(array $methods) {
    101     $methods[] = 'WC_Etransactions_Standard_Gateway';
    102     $methods[] = 'WC_Etransactions_Threetime_Gateway';
     101    $methods[] = 'WC_EStdGw';
     102    $methods[] = 'WC_E3Gw';
    103103    return $methods;
    104104}
     
    112112    switch ($method) {
    113113        case 'etransactions_std':
    114             $method = new WC_Etransactions_Standard_Gateway();
     114            $method = new WC_EStdGw();
    115115            $method->showDetails($order);
    116116            break;
    117117        case 'etransactions_3x':
    118             $method = new WC_Etransactions_Threetime_Gateway();
     118            $method = new WC_E3Gw();
    119119            $method->showDetails($order);
    120120            break;
     
    127127   
    128128    if(wooCommerceActiveETwp()){
    129         $temp = new WC_Etransactions_Standard_Gateway();
     129        $temp = new WC_EStdGw();
    130130        $plugin_data = get_plugin_data( __FILE__ );
    131131        $plugin_name = $plugin_data['Name'];
Note: See TracChangeset for help on using the changeset viewer.