Plugin Directory

Changeset 3184140


Ignore:
Timestamp:
11/08/2024 01:32:44 AM (17 months ago)
Author:
fizzbuzzdev
Message:

updated minor version and tested on WP 6.6.2

Location:
qe-fid-id/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • qe-fid-id/trunk/qe-fid-plugin.php

    r3140374 r3184140  
    1515 * Plugin URI:        https://www.fidaccess.com
    1616 * Description:       Secure your wp-admin with Facial recognition technology powered by FiD Access
    17  * Version:           1.2.4
     17 * Version:           1.2.5
    1818 * Author:            FiD Access
    1919 * Text Domain:       qe-fid-v1
  • qe-fid-id/trunk/readme.txt

    r3140374 r3184140  
    33Tags: login, admin, password, facial recognition, wp-admin
    44Requires at least: 5.3
    5 Tested up to: 6.6.1
     5Tested up to: 6.6.2
    66Requires PHP: 5.6
    7 Stable tag: 1.2.4
     7Stable tag: 1.2.5
    88License: GPL-3.0 or later
    99License URI: https://www.gnu.org/licenses/gpl.html
     
    190190
    191191== Changelog ==
     192= 1.2.5 =
     193 - Fix uninstall script fail on error.
    192194= 1.2.4 =
    193195 - Fix for pin handling
  • qe-fid-id/trunk/uninstall.php

    r3000397 r3184140  
    33namespace QeFid\ID;
    44
     5use Exception;
    56use QeFid\ID\Constants\Options;
    67use QeFid\ID\Endpoint\PluginAdmin;
     
    1617$refresh_key = get_option(Options::$API_KEY_REFRESH);
    1718if ($refresh_key) {
    18   $deactivated = PluginAdmin::deactivate_license($refresh_key);
     19  try {
     20    $deactivated = PluginAdmin::deactivate_license($refresh_key);
     21  } catch (Exception $e) {
     22    print_r($e);
     23  }
    1924  $deleted_access = delete_option(Options::$API_KEY_ACCESS);
    2025  $deleted_refresh = delete_option(Options::$API_KEY_REFRESH);
     
    3035// protects against accidental deletion
    3136$enrolled = get_option(Options::$FID_USER_MAPPING_ROSTER);
    32 if ($enrolled || count($enrolled->user_roster) >= 1) {
     37if ($enrolled && count($enrolled->user_roster) >= 1) {
    3338  $plugin = Plugin::get_instance();
    3439  $plugin->deactivate();
    35   delete_option(Options::$FID_USER_MAPPING_ROSTER);
    3640}
     41
     42delete_option(Options::$FID_USER_MAPPING_ROSTER);
Note: See TracChangeset for help on using the changeset viewer.