Plugin Directory

Changeset 2643491


Ignore:
Timestamp:
12/13/2021 05:07:09 PM (4 years ago)
Author:
planetshaker
Message:

fix licence missing method

Location:
emergencywp/trunk
Files:
3 edited

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 ===
    22Contributors: EmergencyWP
    33Author URI: https://emergencywp.net/
     
    77Requires at least: 4.9
    88Tested up to: 5.8.2
    9 Stable tag: 1.3.7
     9Stable tag: 1.3.8
    1010License: GNU Version 2 or Any Later Version
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.txt
     
    7575
    7676== Changelog ==
     77= 1.3.8, 2021/12/13 =
     78* Fix compatibility with EWP-Pro
    7779
    7880= 1.3.7, 2021/12/11 =
  • emergencywp/trunk/emergencywp.php

    r2642853 r2643491  
    44Plugin URI: https://emergencyWP.net/
    55Description: 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.7
     6Version: 1.3.8
    77Author: EmergencyWP Team, Albert Brückmann
    88Author URI: https://emergencywp.net/
     
    1515define('EMERGENCY_WP_PLUGIN_PATH', 'emergencywp/emergencywp.php');
    1616define('EMERGENCY_WP_PLUGIN_NAME', 'emergencywp');
    17 define('EMERGENCY_WP_VERSION', '1.3.7');
     17define('EMERGENCY_WP_VERSION', '1.3.8');
    1818define('EMERGENCY_WP_PLUGIN_URL', plugin_dir_url(__FILE__));
    1919define('EMERGENCY_WP_PLUGIN_DIR', plugin_dir_path(__FILE__));
  • emergencywp/trunk/lib/class.emergencyWPAdmin.php

    r2641481 r2643491  
    7070            '120' => __('2 minutes (for testing purposes)', 'emergencywp')
    7171        );
    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         }
    8872    }
    8973
Note: See TracChangeset for help on using the changeset viewer.