Skip to content

Commit

Permalink
Allow links in the user summary
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Nov 22, 2024
1 parent 0e1823e commit 17fec76
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion templates/frontend/followers.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,18 @@
<a href="<?php echo esc_url( $follower['remove_action_url'] ); ?>" class="follower follower-delete" title="<?php esc_attr_e( 'Remove follower', 'friends' ); ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( 'friends-followers' ) ); ?>" data-handle="<?php echo esc_attr( $follower['preferredUsername'] . '@' . $follower['server'] ); ?>" data-id="<?php echo esc_attr( $follower['id'] ); ?>">
<span class="ab-icon dashicons dashicons-admin-users" style="vertical-align: middle;"><span class="ab-icon dashicons dashicons-no"></span></span>
</a>
<p class="description"><?php echo esc_html( $follower['summary'] ); ?></p>
<p class="description">
<?php
echo wp_kses(
$follower['summary'],
array(
'a' => array(
'href' => array(),
),
)
);
?>
</p>
</summary><p class="loading-posts">
<span><?php esc_html_e( 'Loading posts', 'friends' ); ?></span>
<i class="form-icon loading"></i>
Expand Down

0 comments on commit 17fec76

Please sign in to comment.