Changeset 3184140
- Timestamp:
- 11/08/2024 01:32:44 AM (17 months ago)
- Location:
- qe-fid-id/trunk
- Files:
-
- 3 edited
-
qe-fid-plugin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
uninstall.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
qe-fid-id/trunk/qe-fid-plugin.php
r3140374 r3184140 15 15 * Plugin URI: https://www.fidaccess.com 16 16 * Description: Secure your wp-admin with Facial recognition technology powered by FiD Access 17 * Version: 1.2. 417 * Version: 1.2.5 18 18 * Author: FiD Access 19 19 * Text Domain: qe-fid-v1 -
qe-fid-id/trunk/readme.txt
r3140374 r3184140 3 3 Tags: login, admin, password, facial recognition, wp-admin 4 4 Requires at least: 5.3 5 Tested up to: 6.6. 15 Tested up to: 6.6.2 6 6 Requires PHP: 5.6 7 Stable tag: 1.2. 47 Stable tag: 1.2.5 8 8 License: GPL-3.0 or later 9 9 License URI: https://www.gnu.org/licenses/gpl.html … … 190 190 191 191 == Changelog == 192 = 1.2.5 = 193 - Fix uninstall script fail on error. 192 194 = 1.2.4 = 193 195 - Fix for pin handling -
qe-fid-id/trunk/uninstall.php
r3000397 r3184140 3 3 namespace QeFid\ID; 4 4 5 use Exception; 5 6 use QeFid\ID\Constants\Options; 6 7 use QeFid\ID\Endpoint\PluginAdmin; … … 16 17 $refresh_key = get_option(Options::$API_KEY_REFRESH); 17 18 if ($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 } 19 24 $deleted_access = delete_option(Options::$API_KEY_ACCESS); 20 25 $deleted_refresh = delete_option(Options::$API_KEY_REFRESH); … … 30 35 // protects against accidental deletion 31 36 $enrolled = get_option(Options::$FID_USER_MAPPING_ROSTER); 32 if ($enrolled ||count($enrolled->user_roster) >= 1) {37 if ($enrolled && count($enrolled->user_roster) >= 1) { 33 38 $plugin = Plugin::get_instance(); 34 39 $plugin->deactivate(); 35 delete_option(Options::$FID_USER_MAPPING_ROSTER);36 40 } 41 42 delete_option(Options::$FID_USER_MAPPING_ROSTER);
Note: See TracChangeset
for help on using the changeset viewer.