C:\xampp\htdocs\landing\wp-content\plugins\malcare-security\wp_actions.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php

if (!defined('ABSPATH')) exit;
if (!
class_exists('MCWPAction')) :
    class 
MCWPAction {
        public 
$settings;
        public 
$siteinfo;
        public 
$bvinfo;
        public 
$bvapi;

        public function 
__construct($settings$siteinfo$bvapi) {
            
$this->settings $settings;
            
$this->siteinfo $siteinfo;
            
$this->bvapi $bvapi;
            
$this->bvinfo = new MCInfo($settings);
        }
    
        public function 
activate() {
            if (!isset(
$_REQUEST['blogvaultkey'])) {
                
##BVKEYSLOCATE##
            
}
            if (
MCAccount::isConfigured($this->settings)) {
                
/* This informs the server about the activation */
                
$info = array();
                
$this->siteinfo->basic($info);
                
$this->bvapi->pingbv('/bvapi/activate'$info);
            } else {
                
MCAccount::setup($this->settings);
            }
        }

        public function 
deactivate() {
            
$info = array();
            
$this->siteinfo->basic($info);
            
$this->bvapi->pingbv('/bvapi/deactivate'$info);
        }

        public static function 
uninstall() {
            
do_action('clear_pt_config');
            
do_action('clear_ip_store');
            
##CLEARDYNSYNCCONFIG##
            
do_action('clear_bv_services_config');
        }

        public function 
clear_bv_services_config() {
            
$this->settings->deleteOption($this->bvinfo->services_option_name);
        }

        public function 
footerHandler() {
            
$bvfooter $this->settings->getOption($this->bvinfo->badgeinfo);
            if (
$bvfooter) {
                echo 
'<div style="max-width:150px;min-height:70px;margin:0 auto;text-align:center;position:relative;">
                    <a href='
.$bvfooter['badgeurl'].' target="_blank" ><img src="'.plugins_url($bvfooter['badgeimg'], __FILE__).'" alt="'.$bvfooter['badgealt'].'" /></a></div>';
            }
        }
    }
endif;
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586