Plugin Directory

source: simple-https/trunk/uninstall.php

Last change on this file was 3379144, checked in by neoslab, 3 months ago

Update trunk (sync) for version 2.2.7

File size: 1019 bytes
Line 
1<?php
2/**
3 * Fired when the plugin is uninstalled
4 * When populating this file, consider the following flow of control:
5 *
6 * - This method should be static
7 * - Check if the $_REQUEST content actually is the plugin name
8 * - Run an admin referrer check to make sure it goes through authentication
9 * - Verify the output of $_GET makes sense
10 * - Repeat with other user roles. Best directly by using the links/query string parameters.
11 * - Repeat things for multisite. Once for a single site in the network, once sitewide.
12 *
13 * This file may be updated more in future version of the Boilerplate; however, this is the
14 * general skeleton and outline for how the file should work.
15 *
16 * For more information, see the following discussion:
17 * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
18 *
19 * @link https://neoslab.com
20 * @since 1.0.0
21 * @package Simple_HTTPS
22*/
23
24/**
25 * If uninstall not called from WordPress, then exit
26*/
27if(!defined('WP_UNINSTALL_PLUGIN'))
28{
29        exit;
30}
31
32?>
Note: See TracBrowser for help on using the repository browser.