| @@ -1,0 +1,23 @@ | ||
| 1 | +<?php | |
| 2 | +/* | |
| 3 | + * License: GPLv3 | |
| 4 | + * License URI: https://www.gnu.org/licenses/gpl.txt | |
| 5 | + * Copyright 2012-2026 Jean-Sebastien Morisset (https://wpsso.com/) | |
| 6 | + */ | |
| 7 | + | |
| 8 | +if ( ! defined( 'ABSPATH' ) || ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { | |
| 9 | + | |
| 10 | + die( 'These aren\'t the droids you\'re looking for.' ); | |
| 11 | +} | |
| 12 | + | |
| 13 | +$plugin_dir = trailingslashit( dirname( __FILE__ ) ); | |
| 14 | + | |
| 15 | +$plugin_file = $plugin_dir . 'wpsso.php'; | |
| 16 | + | |
| 17 | +require_once $plugin_dir . 'lib/config.php'; | |
| 18 | + | |
| 19 | +WpssoConfig::set_constants( $plugin_file ); | |
| 20 | + | |
| 21 | +WpssoConfig::require_libs( $plugin_file ); // Includes the register.php class library. | |
| 22 | + | |
| 23 | +WpssoRegister::network_uninstall(); | |