PluginProbe ʕ •ᴥ•ʔ
Advanced Import / 1.4.3
Advanced Import v1.4.3
trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 2.0.0
advanced-import / uninstall.php
advanced-import Last commit date
admin 1 year ago assets 1 year ago includes 1 year ago languages 1 year ago LICENSE.txt 1 year ago advanced-import.php 1 year ago example.php 1 year ago index.php 1 year ago readme.txt 1 year ago uninstall.php 1 year ago
uninstall.php
26 lines
1 <?php
2
3 /**
4 * Fired when the plugin is uninstalled.
5 *
6 * When populating this file, consider the following flow
7 * of control:
8 *
9 * - This method should be static
10 * - Check if the $_REQUEST content actually is the plugin name
11 * - Run an admin referrer check to make sure it goes through authentication
12 * - Verify the output of $_GET makes sense
13 * - Repeat with other user roles. Best directly by using the links/query string parameters.
14 * - Repeat things for multisite. Once for a single site in the network, once sitewide.
15 *
16 * @link https://addonspress.com/
17 * @since 1.0.0
18 *
19 * @package Advanced_Import
20 */
21
22 // If uninstall not called from WordPress, then exit.
23 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
24 exit;
25 }
26