Changeset 2667109
- Timestamp:
- 01/27/2022 01:20:26 PM (4 years ago)
- Location:
- ezcount/trunk
- Files:
-
- 2 edited
-
EZcount.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ezcount/trunk/EZcount.php
r2635619 r2667109 4 4 * Plugin URI: 5 5 * Description: invoicing, clearing and paypal integration plugin. 6 * Version: 1.11. 36 * Version: 1.11.4 7 7 * Author: EZcount 8 8 * Author URI: … … 15 15 $active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); 16 16 if ( !in_array( 'woocommerce/woocommerce.php', $active_plugins ) ) { 17 echo "<br><br><h1>You must install & activate WooCommerce before installing EZCOUNT plugin!</h1><br><br>";17 add_action( 'admin_notices', 'notice_required_woo' ); 18 18 } 19 19 20 21 function notice_required_woo() { 22 $error_text = __( 'You must install & activate WooCommerce before installing EZCOUNT plugin!', 'ezcount_payment'); 23 ?> 24 <div class="error notice"> 25 <p><h1><?= $error_text ?></h1></p> 26 </div> 27 <?php 28 } 20 29 21 30 add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), -
ezcount/trunk/readme.txt
r2635619 r2667109 4 4 Tags : Invoicing and clearing for Woocommerce, by EasyCount. 5 5 Tested up to: 5.8.2 6 Version : 1.11. 36 Version : 1.11.4 7 7 Stable tag: trunk 8 8 Requires PHP: 5.4
Note: See TracChangeset
for help on using the changeset viewer.