Changeset 3250124
- Timestamp:
- 03/04/2025 08:03:54 AM (13 months ago)
- Location:
- rtdashboards/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
rtdashboards.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rtdashboards/trunk/readme.txt
r3250104 r3250124 45 45 == Changelog == 46 46 47 * v.1.0.2 Fix in prevent this plugin from activating if WooCommerce is not active 47 48 * v.1.0.1 Show an error message if you want to install this plugin, but Woocommerce is not installed 48 49 * v.1.0 First release -
rtdashboards/trunk/rtdashboards.php
r3250104 r3250124 5 5 * Description: Lightweight plugin to send orders to rtdashboards.com 6 6 * Author: Marcel van Doornen 7 * Version: 1.0. 17 * Version: 1.0.2 8 8 * Author URI: https://webbouwplus.nl 9 9 * License: GPL2+ … … 190 190 } 191 191 192 deactivate_plugins(plugin_basename(__FILE__));193 192 return; // Terminate and do not load further script. 194 193 } 195 194 196 195 function rtdashboards_error_notice() { 196 197 if ( is_plugin_active( plugin_basename( __FILE__ ) ) ) { 198 deactivate_plugins(plugin_basename(__FILE__)); 199 } 200 197 201 ?> 198 202 <div class="error"> 199 <p><?php _e(' Yourplugin has been deactivated because it requires WooCommerce to function.', 'rtdashboards'); ?></p>203 <p><?php _e('The RTDashboard plugin has been deactivated because it requires WooCommerce to function.', 'rtdashboards'); ?></p> 200 204 </div> 201 205 <?php
Note: See TracChangeset
for help on using the changeset viewer.