OpenFlyers SSO WordPress plugin 1.1.1

Import of the 1.1.0 archive plus a CLI guard on the two test scripts:
served over HTTP from wp-content/plugins they would delete the plugin
settings and create test accounts on the site.
This commit is contained in:
Lucas HENRY
2026-09-11 20:10:27 +02:00
commit 952607a112
8 changed files with 2826 additions and 0 deletions

18
uninstall.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
/**
* uninstall.php
*
* Removes the plugin settings when it is deleted from WordPress.
* The user links (of_sso_user_id) are kept so a reinstall does not lose them.
*
* @package OpenFlyers_SSO
*
* @link https://doc4-fr.openflyers.com/Plugin-WordPress Documentation publique
* @link https://work.openflyers.com/OF4-WordPress-SSO-plugin Fiche interne
*/
if (!defined('WP_UNINSTALL_PLUGIN')) {
exit;
}
delete_option('of_sso_settings');