init
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
|
||||
|
||||
namespace MailPoet\Config;
|
||||
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
|
||||
use WP_Upgrader_Skin;
|
||||
|
||||
/**
|
||||
* Upgrader skin that doesn't echo any outputs
|
||||
* Used for when downloading translation updates in the background
|
||||
*/
|
||||
class SilentUpgraderSkin extends WP_Upgrader_Skin {
|
||||
/**
|
||||
* @inerhitDoc
|
||||
*/
|
||||
public function feedback($feedback, ...$args) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inerhitDoc
|
||||
*/
|
||||
public function header() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inerhitDoc
|
||||
*/
|
||||
public function footer() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user