From 494b3ddf260c7740382640d0413e462a7fe92154 Mon Sep 17 00:00:00 2001 From: Mike Letellier Date: Thu, 11 Jun 2026 13:59:49 -0300 Subject: [PATCH] Stop autoloading favourite templates option --- classes/controllers/FrmFormTemplatesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/controllers/FrmFormTemplatesController.php b/classes/controllers/FrmFormTemplatesController.php index 7799e7c222..f3648ee868 100644 --- a/classes/controllers/FrmFormTemplatesController.php +++ b/classes/controllers/FrmFormTemplatesController.php @@ -352,7 +352,7 @@ public static function ajax_add_or_remove_favorite() { } // Update the favorite templates option. - update_option( self::FAVORITE_TEMPLATES_OPTION, self::$favorite_templates ); + update_option( self::FAVORITE_TEMPLATES_OPTION, self::$favorite_templates, false ); // Return the updated list of favorite templates. wp_send_json_success( self::$favorite_templates );