diff --git a/includes/Install/Installer.php b/includes/Install/Installer.php index 1d11c51141..4a49cd0ae4 100755 --- a/includes/Install/Installer.php +++ b/includes/Install/Installer.php @@ -41,9 +41,8 @@ public function do_install() { $was_installed_before = get_option( 'dokan_theme_version', false ); - update_option( 'dokan_theme_version', DOKAN_PLUGIN_VERSION ); - if ( ! $was_installed_before ) { + update_option( 'dokan_theme_version', DOKAN_PLUGIN_VERSION ); update_option( 'dokan_admin_setup_wizard_ready', false ); set_transient( '_dokan_setup_page_redirect', true, 30 ); }