Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/nginx-he...
File: uninstall.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Fired when the plugin is uninstalled.
[2] Fix | Delete
*
[3] Fix | Delete
* When populating this file, consider the following flow
[4] Fix | Delete
* of control:
[5] Fix | Delete
*
[6] Fix | Delete
* - This method should be static
[7] Fix | Delete
* - Check if the $_REQUEST content actually is the plugin name
[8] Fix | Delete
* - Run an admin referrer check to make sure it goes through authentication
[9] Fix | Delete
* - Verify the output of $_GET makes sense
[10] Fix | Delete
* - Repeat with other user roles. Best directly by using the links/query string parameters.
[11] Fix | Delete
* - Repeat things for multisite. Once for a single site in the network, once sitewide.
[12] Fix | Delete
*
[13] Fix | Delete
* This file may be updated more in future version of the Boilerplate; however, this is the
[14] Fix | Delete
* general skeleton and outline for how the file should work.
[15] Fix | Delete
*
[16] Fix | Delete
* For more information, see the following discussion:
[17] Fix | Delete
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
[18] Fix | Delete
*
[19] Fix | Delete
* @link https://rtcamp.com/nginx-helper/
[20] Fix | Delete
* @since 2.0.0
[21] Fix | Delete
*
[22] Fix | Delete
* @package nginx-helper
[23] Fix | Delete
*/
[24] Fix | Delete
[25] Fix | Delete
// If uninstall not called from WordPress, then exit.
[26] Fix | Delete
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
[27] Fix | Delete
exit;
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function