diff --git src/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php src/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php
index f371873..8c90356 100644
|
|
|
14 | 14 | do_action( 'bp_before_group_header' ); ?> |
15 | 15 | |
16 | 16 | <div id="cover-image-container"> |
17 | | <a id="header-cover-image" href="<?php bp_group_permalink(); ?>"></a> |
| 17 | <a id="header-cover-image" href="<?php echo esc_url( bp_get_group_permalink() ); ?>"></a> |
18 | 18 | |
19 | 19 | <div id="item-header-cover-image"> |
20 | 20 | <?php if ( ! bp_disable_group_avatar_uploads() ) : ?> |
21 | 21 | <div id="item-header-avatar"> |
22 | | <a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>"> |
| 22 | <a href="<?php echo esc_url( bp_get_group_permalink() ); ?>" title="<?php echo esc_attr( bp_get_group_name() ); ?>"> |
23 | 23 | |
24 | 24 | <?php bp_group_avatar(); ?> |
25 | 25 | |