Beispiel #1
0
 function validate()
 {
     if (--self::$registered[$this->method] == 0) {
         unset(self::$registered[$this->method]);
         if (--self::$invalidCount == 0) {
             // Emergency is now (somewhat) OK
             \BE_MCH_TPNF_VARS::$emergency = BE_MCH_TPNF_EMERGENCY_OK;
             \BE_MCH_TPNF_VARS::store_variable(BE_MCH_TPNF_EMERGENCY);
         }
     }
 }
                </p>
                <p>
   					Thank for having used <strong><?php 
            echo $data['Name'];
            ?>
</strong> for <?php 
            echo $delay->format('%a');
            ?>
 days. We'll keep working to improve it.
                </p>
			</div>
			<?php 
        }
        if ($_GET[sanitize_key('tpnf-action-dismiss')] == 'true') {
            BE_MCH_TPNF_VARS::$msg = BE_MCH_TPNF_MSG_DISMISS;
            BE_MCH_TPNF_VARS::store_variable(BE_MCH_TPNF_MSG);
        } else {
            add_action('admin_notices', 'tpnf_uninstalled');
        }
        break;
}
if ($_GET[sanitize_key('tpnf-action-reactivate')] == 'true') {
    BE_MCH_TPNF_VARS::$working = BE_MCH_TPNF_WORKING_KO;
    BE_MCH_TPNF_VARS::$emergency = BE_MCH_TPNF_EMERGENCY_OK;
}
function tpnf_plugin_data()
{
    return get_plugin_data(BE_MCH_TPNF_FILE);
}
require_once dirname(BE_MCH_TPNF_FILE) . '/includes/error.php';
require_once dirname(BE_MCH_TPNF_FILE) . '/includes/requirements.php';