Plugin Directory

Changeset 2635619


Ignore:
Timestamp:
11/25/2021 11:44:43 PM (4 years ago)
Author:
alonezcount
Message:

add message for missing woocommerce & test for 5.8.2

Location:
ezcount/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ezcount/trunk/EZcount.php

    r2381907 r2635619  
    44 * Plugin URI:
    55 * Description: invoicing, clearing and paypal integration plugin.
    6  * Version: 1.11.2
     6 * Version: 1.11.3
    77 * Author: EZcount
    88 * Author URI:
    99 * Requires at least: 4.4
    10  * Tested up to: 4.9.1
     10 * Tested up to: 5.8.2
    1111 * Text Domain: EZcount
    1212 *
    1313 */
     14
     15$active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
     16if ( !in_array( 'woocommerce/woocommerce.php', $active_plugins ) ) {
     17    echo "<br><br><h1>You must install & activate WooCommerce before installing EZCOUNT plugin!</h1><br><br>";
     18}
     19
    1420
    1521add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ),
     
    2733function init_ezcount_gateway_class() {
    2834    if ( ! class_exists( 'WC_Payment_Gateway' ) ) {
    29         return;
     35        return;
    3036    }
    3137
  • ezcount/trunk/readme.txt

    r2381907 r2635619  
    33Contributors: EZcount
    44Tags        : Invoicing and clearing for Woocommerce, by EasyCount.
    5 Tested up to: 4.9.8
    6 Version     : 1.11.2
     5Tested up to: 5.8.2
     6Version     : 1.11.3
    77Stable tag: trunk
    88Requires PHP: 5.4
Note: See TracChangeset for help on using the changeset viewer.