#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 62.109.13.187 / Your IP : 216.73.216.11 [ Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28 System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : mosrembit ( 6064) PHP Version : 8.2.28 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/mosrembit/data/www/mosrembit.ru/wp-content/plugins/duplicator-pro/ |
Upload File : |
<?php
defined("ABSPATH") or die("");
/**
* Fired when the plugin is uninstalled.
*
* @package DUP_PRO
* @link https://snapcreek.com
* @Copyright 2016 Snapcreek.com
*/
// If uninstall not called from WordPress, then exit
if (!defined('WP_UNINSTALL_PLUGIN'))
{
exit;
}
require_once 'define.php';
require_once 'classes/utilities/class.u.php';
require_once 'classes/utilities/class.u.low.php';
DUP_PRO_U::init();
delete_option('duplicator_pro_plugin_version');
function DUP_PRO_deactivate_license()
{
$license = get_option('duplicator_pro_license_key', '');
if (empty($license) === false)
{
$api_params = array(
'edd_action' => 'deactivate_license',
'license' => $license,
'item_name' => urlencode('Duplicator Pro')
);
// Call the custom API.
$response = wp_remote_get(add_query_arg($api_params, 'https://snapcreek.com'));
$response_string = print_r($response, true);
DUP_PRO_Low_U::errLog("deactivate license response $response_string");
// make sure the response came back okay
if (is_wp_error($response))
{
//DUP_PRO_LOG::traceObject("Error deactivating $license", $response);
DUP_PRO_Low_U::errLog("error deactivating license $license");
//return;
}
else
{
$license_data = json_decode(wp_remote_retrieve_body($response));
$license_data_string = print_r($license_data, true);
DUP_PRO_Low_U::errLog("After deactivating license key license_data=$license_data_string");
}
// No error handling / reporting in this version - want it as simple as possible
}
else
{
DUP_PRO_Low_U::errLog('license key is empty on uninstall!');
}
}
DUP_PRO_deactivate_license();
$global = DUP_PRO_Global_Entity::get_instance();
if ($global->uninstall_packages) {
$tableName = $GLOBALS['wpdb']->base_prefix.'duplicator_pro_packages';
$GLOBALS['wpdb']->query('DROP TABLE IF EXISTS '.$tableName);
$ssdir = DUP_PRO_U::safePath(DUPLICATOR_PRO_SSDIR_PATH);
//Sanity check for strange setup
$check = glob("{$ssdir}/wp-config.php");
if (count($check) == 0) {
require_once 'lib/snaplib/class.snaplib.u.io.php';
DupProSnapLibIOU::rrmdir($ssdir, true);
}
}
//Remove all Settings
if ($global->uninstall_settings) {
$tableName = $GLOBALS['wpdb']->base_prefix.DUP_PRO_JSON_Entity_Base::DEFAULT_TABLE_NAME;
$GLOBALS['wpdb']->query('DROP TABLE IF EXISTS '.$tableName);
delete_option('duplicator_pro_plugin_version');
delete_option('duplicator_package_active');
delete_option('duplicator_pro_trace_log_enabled');
delete_option('duplicator_pro_send_trace_to_error_log');
delete_option('duplicator_pro_license_key');
delete_option('duplicator_pro_reset_user_settings_required');
delete_option('duplicator_pro_package_active');
}