PluginProbe
PayPlug for WooCommerce (Official) / 1.0.0
PayPlug for WooCommerce (Official) v1.0.0
3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 All 101 releases
← All changes | payplug.php +6 -6 1.2.21.0.0 View file →
@@ -1,20 +1,18 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: PayPlug pour WooCommerce (Officiel)
4 - * Plugin URI: https://www.payplug.com/modules/woocommerce
4 + * Plugin URI: https://www.payplug.com/modules/woocomerce
5 5 * Description: The online payment solution combining simplicity and first-rate support to boost your sales.
6 6 * Author: PayPlug
7 7 * Author URI: https://www.payplug.com/
8 8 * Text Domain: payplug
9 9 * Domain Path: /languages
10 - * Version: 1.2.2
11 - * WC tested up to: 4.0
10 + * Version: 1.0.0
12 11 * License: GPLv3 or later
13 12 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
14 13 */
15 14
16 -
17 15 namespace Payplug\PayplugWoocommerce;
18 16
19 17 // Exit if accessed directly
20 18 if ( ! defined( 'ABSPATH' ) ) {
@@ -20,9 +18,9 @@
20 18 if ( ! defined( 'ABSPATH' ) ) {
21 19 exit;
22 20 }
23 21
24 -define( 'PAYPLUG_GATEWAY_VERSION', '1.2.2' );
22 +define( 'PAYPLUG_GATEWAY_VERSION', '1.0.0' );
25 23 define( 'PAYPLUG_GATEWAY_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
26 24 define( 'PAYPLUG_GATEWAY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
27 25 define( 'PAYPLUG_GATEWAY_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
28 26
@@ -32,8 +30,10 @@
32 30 function init() {
33 31 if ( file_exists( plugin_dir_path( __FILE__ ) . '/vendor/autoload.php' ) ) {
34 32 require_once plugin_dir_path( __FILE__ ) . '/vendor/autoload.php';
35 33 }
36 - PayplugWoocommerceHelper::load_plugin_textdomain( plugin_basename( dirname( __FILE__ ) ) . '/languages' );
34 +
35 + load_plugin_textdomain( 'payplug', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
36 +
37 37 PayplugWoocommerce::get_instance();
38 38 }
39 39 add_action( 'plugins_loaded', __NAMESPACE__ . '\\init' );