🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 13:01:33 | PHP 8.1.34
📂
/ (Root)
/
home
/
therahul
/
thedasstores.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Migrations
/
App
📍 /home/therahul/thedasstores.com/wp-content/plugins/mailpoet/lib/Migrations/App
🔄 Refresh
✏️
Editing: Migration_20230425_211517.php
Writable
<?php declare(strict_types = 1); namespace MailPoet\Migrations\App; if (!defined('ABSPATH')) exit; use MailPoet\Migrator\AppMigration; use MailPoet\Settings\SettingsController; class Migration_20230425_211517 extends AppMigration { public function run(): void { $settingsController = $this->container->get(SettingsController::class); $possibleKeys = [ 'subscribe.on_register.label', 'subscribe.on_comment.label', ]; $default = __('Yes, add me to your mailing list', 'mailpoet'); foreach ($possibleKeys as $key) { $currentValue = $settingsController->get($key); if ($currentValue === 'TRANSLATION "yesAddMe" NOT FOUND') { $settingsController->set($key, $default); } } } }
💾 Save Changes
❌ Cancel