diff --git src/bp-groups/bp-groups-blocks.php src/bp-groups/bp-groups-blocks.php
index 8eed69b46..2476797e8 100644
|
|
|
function bp_groups_render_group_block( $attributes = array() ) { |
| 93 | 93 | esc_url( $group_link ), |
| 94 | 94 | esc_url( $avatar ), |
| 95 | 95 | /* Translators: %s is the group's name. */ |
| 96 | | sprintf( esc_html__( 'Group Profile photo of %s', 'buddypress' ), $group_name ) |
| | 96 | sprintf( esc_attr__( 'Group Profile photo of %s', 'buddypress' ), esc_html( $group_name ) ) |
| 97 | 97 | ); |
| 98 | 98 | } |
| 99 | 99 | |
| … |
… |
function bp_groups_render_groups_block( $attributes = array() ) { |
| 245 | 245 | </a> |
| 246 | 246 | </div>', |
| 247 | 247 | esc_url( $group_link ), |
| 248 | | /* Translators: %s is the group's name. */ |
| 249 | | sprintf( esc_attr__( 'Group Profile photo of %s', 'buddypress' ), esc_html( $group->name ) ), |
| 250 | 248 | esc_url( |
| 251 | 249 | bp_core_fetch_avatar( |
| 252 | 250 | array( |
| … |
… |
function bp_groups_render_groups_block( $attributes = array() ) { |
| 256 | 254 | 'html' => false, |
| 257 | 255 | ) |
| 258 | 256 | ) |
| 259 | | ) |
| | 257 | ), |
| | 258 | /* Translators: %s is the group's name. */ |
| | 259 | sprintf( esc_attr__( 'Group Profile photo of %s', 'buddypress' ), esc_html( $group->name ) ), |
| 260 | 260 | ); |
| 261 | 261 | } |
| 262 | 262 | |