diff --git a/classes/models/FrmMigrate.php b/classes/models/FrmMigrate.php index b84f7fff05..52ea4d07fe 100644 --- a/classes/models/FrmMigrate.php +++ b/classes/models/FrmMigrate.php @@ -53,6 +53,8 @@ public function upgrade() { if ( false === get_option( 'frm_first_activation' ) ) { update_option( 'frm_first_activation', time(), false ); } + + $this->update_settings_for_new_install(); } }//end if @@ -69,6 +71,18 @@ public function upgrade() { } } + /** + * Updates some settings for new installs. + * + * @since x.x + */ + private function update_settings_for_new_install() { + $settings = FrmAppHelper::get_settings(); + + $settings->denylist_check = 1; + $settings->store(); + } + /** * If we fail to create the database tables, add an inbox notice. * This informs the user that they need to correct the issue and try again.