From a6162967e1c2145c67aa24c5c725e0afbe8cfc84 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Fri, 20 Dec 2024 15:15:37 +0100 Subject: [PATCH] use add_option --- includes/class-migration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-migration.php b/includes/class-migration.php index fe37823d..252dd0c2 100644 --- a/includes/class-migration.php +++ b/includes/class-migration.php @@ -475,8 +475,8 @@ private static function add_activitypub_capability() { * Add default notification settings. */ private static function add_notification_defaults() { - \update_option( 'activitypub_mailer_new_follower', '1' ); - \update_option( 'activitypub_mailer_new_dm', '1' ); + \add_option( 'activitypub_mailer_new_follower', '1' ); + \add_option( 'activitypub_mailer_new_dm', '1' ); } /**