Skip to:
Content

BuddyPress.org

Changeset 10777


Ignore:
Timestamp:
05/19/2016 02:45:17 AM (9 years ago)
Author:
boonebgorges
Message:

Improve escaping in group-header.php template.

Props garrett-eclipse.
Fixes #7074.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/group-header.php

    r10733 r10777  
    5959<?php if ( ! bp_disable_group_avatar_uploads() ) : ?>
    6060    <div id="item-header-avatar">
    61         <a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>">
     61        <a href="<?php echo esc_url( bp_get_group_permalink() ); ?>" title="<?php echo esc_attr( bp_get_group_name() ); ?>">
    6262
    6363            <?php bp_group_avatar(); ?>
Note: See TracChangeset for help on using the changeset viewer.