Code cleanup

This commit is contained in:
Alex Kirk 2022-12-10 12:48:55 +01:00
parent 995c6c714d
commit 0506e85aa6

View file

@ -489,14 +489,14 @@ class Friends_Feed_Parser_ActivityPub extends \Friends\Feed_Parser {
if ( ! $has_activitypub_feed ) {
return;
}
$show_replies = $friend->get_user_option( 'activitypub_friends_show_replies' );
?>
<tr>
<th>ActivityPub</th>
<td>
<fieldset>
<div>
<input type="checkbox" name="friends_show_replies" id="friends_show_replies" value="1" <?php checked( '1', $show_replies ); ?> />
<input type="checkbox" name="friends_show_replies" id="friends_show_replies" value="1" <?php checked( '1', $friend->get_user_option( 'activitypub_friends_show_replies' ) ); ?> />
<label for="friends_show_replies"><?php esc_html_e( "Don't hide @mentions of others", 'activitypub' ); ?></label>
</div>
</fieldset>