Changeset 2172388
- Timestamp:
- 10/13/2019 10:23:54 AM (5 years ago)
- Location:
- bp-event-manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bp-event-manager/tags/1.1.0/bp-event-manager.php
r2172206 r2172388 19 19 20 20 function bpem_if_buddypress_not_active($message) { 21 22 if (!is_plugin_active('buddypress/bp-loader.php')) { 23 24 echo $message .= "<div class='notice notice-error is-dismissible'><h4> Buddypress Plugin Activation Required for BP Event Manager Plugin.</h4></div>"; 25 26 deactivate_plugins('/bp-event-manager/bp-event-manager.php'); 27 28 wp_die(); 29 30 } 31 32 } 21 if (!is_plugin_active('buddypress/bp-loader.php')) { 22 echo $message .= "<div class='notice notice-error is-dismissible'><h4> Buddypress Plugin Activation Required for BP Event Manager Plugin.</h4> 23 <a href='".get_site_url().'/wp-admin/plugins.php'."'> Go Back</a> 24 </div>"; 25 deactivate_plugins('/bp-event-manager/bp-event-manager.php'); 26 wp_die(); 27 } 28 } 29 33 30 34 31 function __construct() { -
bp-event-manager/tags/1.1.0/readme.txt
r2145849 r2172388 30 30 * Note: Both above shortcode can be used in single.php 31 31 32 33 34 32 35 33 36 -
bp-event-manager/trunk/readme.txt
r2172201 r2172388 30 30 * Note: Both above shortcode can be used in single.php file. 31 31 32 33 34 32 35 33 36
Note: See TracChangeset
for help on using the changeset viewer.