Refactor forgotten get_option call using WPFunctions

[MAILPOET-2200]
This commit is contained in:
Rostislav Wolny
2019-07-15 15:00:06 +02:00
committed by M. Shull
parent fe604745c1
commit 654669e52c

View File

@ -43,7 +43,7 @@ class WelcomeWizard {
'is_woocommerce_active' => $this->woocommerce_helper->isWooCommerceActive(),
'finish_wizard_url' => $this->wp->adminUrl('admin.php?page=' . Menu::MAIN_PAGE_SLUG),
'sender' => $this->settings->get('sender'),
'admin_email' => get_option('admin_email'),
'admin_email' => $this->wp->getOption('admin_email'),
];
$this->page_renderer->displayPage('welcome_wizard.html', $data);
}