You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
316 B
12 lines
316 B
8 years ago
|
<?php
|
||
|
// 404page uninstall
|
||
|
|
||
|
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) || ! WP_UNINSTALL_PLUGIN || dirname( WP_UNINSTALL_PLUGIN ) != dirname( plugin_basename( __FILE__ ) ) ) {
|
||
|
status_header( 404 );
|
||
|
exit;
|
||
|
}
|
||
|
|
||
|
include_once plugin_dir_path( __FILE__ ) . '404page.php';
|
||
|
|
||
|
$smart404page->uninstall();
|
||
|
?>
|