PluginProbe
WPComplete / 1.1
WPComplete v1.1
2.9.5.7 2.9.5.6 trunk 1.0 1.1 1.2 1.4 1.4.6 2.3 2.9.1 2.9.2 2.9.5 2.9.5.1 2.9.5.3 2.9.5.4 2.9.5.5
wpcomplete / uninstall.php

uninstall.php in WPComplete 1.1, at uninstall.php

27 lines 736 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 *
17 * @link https://wpcomplete.co
18 * @since 1.0.0
19 *
20 * @package WPComplete
21 */
22
23 // If uninstall not called from WordPress, then exit.
24 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
25 exit;
26 }
27