I would remove the settings for now

This commit is contained in:
Matthias Pfefferle 2023-05-19 17:16:19 +02:00
parent 92712e1d4a
commit e48ce0ebce
2 changed files with 0 additions and 24 deletions

View file

@ -144,15 +144,6 @@ 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,
// )
// );
}
public static function schedule_migration() {

View file

@ -171,21 +171,6 @@
</tbody>
</table>
<!-- <table class="form-table">
<tbody>
<tr>
<th scope="row">
<?php \esc_html_e( 'Secure Mode', 'activitypub' ); ?>
</th>
<td>
<p>
<label><input type="checkbox" name="activitypub_use_secure_mode" id="activitypub_use_secure_mode" value="1" <?php echo \checked( '1', \get_option( 'activitypub_use_secure_mode', '0' ) ); ?> /> <?php echo wp_kses( \__( 'In secure mode every ActivityPub request must be signed. This disallows anonymous requests and prevents serving content to servers listed in the Blocklist. WARNING this disallows caching so will affect server performance', 'activitypub' ), 'default' ); ?></label>
</p>
</td>
</tr>
</tbody>
</table> -->
<?php \do_settings_fields( 'activitypub', 'server' ); ?>
<?php \do_settings_sections( 'activitypub' ); ?>