Skip to content

Commit 2db2791

Browse files
updated
1 parent 61128b5 commit 2db2791

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

class-plugin.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -644,11 +644,11 @@ private function include_files()
644644
{
645645

646646
require_once WCF_ADDONS_PATH . 'config.php';
647-
648-
if (is_admin()) {
649-
650-
require_once WCF_ADDONS_PATH . 'inc/admin/setup-wizard.php';
651-
647+
648+
if (is_admin()) {
649+
if(get_option( 'wcf_addons_setup_wizard' ) !== 'complete' ){
650+
require_once WCF_ADDONS_PATH . 'inc/admin/setup-wizard.php';
651+
}
652652
require_once WCF_ADDONS_PATH . 'inc/admin/dashboard.php';
653653
}
654654

0 commit comments

Comments
 (0)