11 lines
212 B
PHP
11 lines
212 B
PHP
<?php
|
|
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ||
|
|
! WP_UNINSTALL_PLUGIN ||
|
|
dirname( WP_UNINSTALL_PLUGIN ) !== dirname( plugin_basename( __FILE__ ) )
|
|
) {
|
|
status_header( 404 );
|
|
exit;
|
|
}
|
|
|
|
flush_rewrite_rules();
|