File "installer-skin-legacy.lib.php"
Full Path: /home/rrterraplen/public_html/wp-content-20241221212636/plugins/sucuri-scanner/src/installer-skin-legacy.lib.php
File size: 1.58 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Code related to the installer-skin.lib.php interface.
*
* PHP version 5
*
* @category Library
* @package Sucuri
* @subpackage SucuriScanner
* @author Daniel Cid <[email protected]>
* @copyright 2010-2018 Sucuri Inc.
* @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
* @link https://wordpress.org/plugins/sucuri-scanner
*/
if (!defined('SUCURISCAN_INIT') || SUCURISCAN_INIT !== true) {
if (!headers_sent()) {
/* Report invalid access if possible. */
header('HTTP/1.1 403 Forbidden');
}
exit(1);
}
/**
* Plugin Installer Skin for WordPress Plugin Installer before WP 5.3.
*
* This is used by the post-hack utility to disregard the installation
* process when the website owner decides to reset one or more plugins.
* Without this WordPress will flush the buffer of the re-installation
* process immediately and we will not be able to disregard these logs
* after the operation has finished.
*
* @codeCoverageIgnore
*
* @category Library
* @package Sucuri
* @subpackage SucuriScanner
* @author Daniel Cid <[email protected]>
* @copyright 2010-2018 Sucuri Inc.
* @license https://www.gnu.org/licenses/gpl-2.0.txt GPL2
* @link https://wordpress.org/plugins/sucuri-scanner
*/
class SucuriScanPluginInstallerSkin extends Plugin_Installer_Skin
{
/**
* Reports the progress of the plugin installation.
*
* @param string $string Message to display in administration message.
*
* @return void
*/
public function feedback($string)
{
/* do not do anything */
}
}