diff --git a/includes/class-admin.php b/includes/class-admin.php index 4bc7b9c..7a19e8e 100644 --- a/includes/class-admin.php +++ b/includes/class-admin.php @@ -144,15 +144,15 @@ class Admin { 'default' => array( 'post', 'pages' ), ) ); - // \register_setting( - // 'activitypub', - // 'activitypub_use_secure_mode', - // array( - // 'type' => 'boolean', - // 'description' => \__( 'Secure mode allows blocking servers from fetching public activities', 'activitypub' ), - // 'default' => 0, - // ) - // ); + \register_setting( + 'activitypub', + 'activitypub_use_secure_mode', + array( + 'type' => 'boolean', + 'description' => \__( 'Secure mode allows blocking servers from fetching public activities', 'activitypub' ), + 'default' => 0, + ) + ); } public static function schedule_migration() { diff --git a/templates/settings.php b/templates/settings.php index 28d7f32..6429688 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -171,7 +171,7 @@ - +