installed plugin Protect Uploads version 0.3
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
class Alti_ProtectUploads_Deactivator extends Alti_ProtectUploads {
|
||||
|
||||
public function run() {
|
||||
$plugin = new Alti_ProtectUploads_Admin($this->plugin_name, $this->version);
|
||||
$plugin->remove_index();
|
||||
$plugin->remove_htaccess();
|
||||
delete_option( $this->get_plugin_name().'-protection' );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user