#7074 closed defect (bug) (fixed)
Templates should utilize esc_attr when setting a link title attribute to bp_group_name
Reported by: | garrett-eclipse | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 2.5.0 |
Component: | Groups | Keywords: | |
Cc: |
Description
Hello,
I noticed in group-header.php and I'm sure it's in several other places, that the bp_group_name is being applied to the title attribute of a link without any handling, should employ esc_attr.
<a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>">
Should be pushed through esc_attr either in the template by using bp_get_group_name instead or by creating a new bp_group_name_attr function.
Thanks
Change History (5)
#1
@
9 years ago
- Milestone changed from Awaiting Review to 2.6
- Owner set to boonebgorges
- Status changed from new to assigned
#3
@
8 years ago
Another one:
Some places where I changed and where I think BuddyPress should too.
Note: See
TracTickets for help on using
tickets.
Thanks, @garrett-eclipse. If you spot other instances of this, please feel free to submit a ticket.