Changeset 2643491
- Timestamp:
- 12/13/2021 05:07:09 PM (4 years ago)
- Location:
- emergencywp/trunk
- Files:
-
- 3 edited
-
Readme.txt (modified) (3 diffs)
-
emergencywp.php (modified) (2 diffs)
-
lib/class.emergencyWPAdmin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
emergencywp/trunk/Readme.txt
r2642853 r2643491 1 === EmergencyWP - Dead Man's switch & legacy deliverance ===1 === EmergencyWP - Dead Man's switch & legacy deliverance === 2 2 Contributors: EmergencyWP 3 3 Author URI: https://emergencywp.net/ … … 7 7 Requires at least: 4.9 8 8 Tested up to: 5.8.2 9 Stable tag: 1.3. 79 Stable tag: 1.3.8 10 10 License: GNU Version 2 or Any Later Version 11 11 License URI: http://www.gnu.org/licenses/gpl-3.0.txt … … 75 75 76 76 == Changelog == 77 = 1.3.8, 2021/12/13 = 78 * Fix compatibility with EWP-Pro 77 79 78 80 = 1.3.7, 2021/12/11 = -
emergencywp/trunk/emergencywp.php
r2642853 r2643491 4 4 Plugin URI: https://emergencyWP.net/ 5 5 Description: EmergencyWP helps you plan processes for the case of personal emergencies right from your WordPress Dashboard. Pass over information to coworkers or clients automatically if you can't do it manually anymore (e.g. accidants, death, etc.). Plan life checks, setup contacts and messages and more. See our addons for more functionalities. 6 Version: 1.3. 76 Version: 1.3.8 7 7 Author: EmergencyWP Team, Albert Brückmann 8 8 Author URI: https://emergencywp.net/ … … 15 15 define('EMERGENCY_WP_PLUGIN_PATH', 'emergencywp/emergencywp.php'); 16 16 define('EMERGENCY_WP_PLUGIN_NAME', 'emergencywp'); 17 define('EMERGENCY_WP_VERSION', '1.3. 7');17 define('EMERGENCY_WP_VERSION', '1.3.8'); 18 18 define('EMERGENCY_WP_PLUGIN_URL', plugin_dir_url(__FILE__)); 19 19 define('EMERGENCY_WP_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
emergencywp/trunk/lib/class.emergencyWPAdmin.php
r2641481 r2643491 70 70 '120' => __('2 minutes (for testing purposes)', 'emergencywp') 71 71 ); 72 73 74 $licenceDate = emergencywp_option(EWPSettingsData::LICENCE_DATE);75 if (is_object($licenceDate)) {76 $datetimeNow = new DateTime();77 $interval = $datetimeNow->diff($licenceDate);78 $value = $interval->format('%R%a');79 if ($value > 10) {80 emergencywp_update_option(EWPSettingsData::LICENCE_DATE, $datetimeNow->modify('-11 day'));81 if (function_exists('emergencywp_edd_check_license')) {82 emergencywp_edd_check_license();83 }84 } else if ($value < -5) {85 emergencywp_edd_check_license();86 }87 }88 72 } 89 73
Note: See TracChangeset
for help on using the changeset viewer.