PopulatorData
1 month ago
AccessControl.php
2 years ago
Activator.php
2 weeks ago
AssetsLoader.php
1 month ago
Capabilities.php
1 month ago
Changelog.php
1 month ago
DeactivationPoll.php
3 years ago
DeferredAdminNotices.php
3 weeks ago
Env.php
5 months ago
Hooks.php
3 weeks ago
HooksWooCommerce.php
1 year ago
Initializer.php
1 week ago
Installer.php
9 months ago
Localizer.php
3 years ago
Menu.php
1 week ago
PersonalDataErasers.php
3 years ago
PersonalDataExporters.php
1 month ago
PluginActivatedHook.php
3 years ago
Populator.php
4 days ago
PrivacyPolicy.php
2 years ago
Renderer.php
1 year ago
RendererFactory.php
3 years ago
RequirementsChecker.php
2 weeks ago
Router.php
1 month ago
ServicesChecker.php
3 years ago
Shortcodes.php
4 days ago
SilentUpgraderSkin.php
3 years ago
SubscriberChangesNotifier.php
3 weeks ago
TranslationUpdater.php
1 month ago
TwigEnvironment.php
1 year ago
TwigFileSystemCache.php
3 years ago
Updater.php
6 months ago
index.php
3 years ago
SilentUpgraderSkin.php
33 lines
| 1 | <?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing |
| 2 | |
| 3 | namespace MailPoet\Config; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | use WP_Upgrader_Skin; |
| 9 | |
| 10 | /** |
| 11 | * Upgrader skin that doesn't echo any outputs |
| 12 | * Used for when downloading translation updates in the background |
| 13 | */ |
| 14 | class SilentUpgraderSkin extends WP_Upgrader_Skin { |
| 15 | /** |
| 16 | * @inerhitDoc |
| 17 | */ |
| 18 | public function feedback($feedback, ...$args) { |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * @inerhitDoc |
| 23 | */ |
| 24 | public function header() { |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * @inerhitDoc |
| 29 | */ |
| 30 | public function footer() { |
| 31 | } |
| 32 | } |
| 33 |