Opened 10 years ago
Closed 10 years ago
#6815 closed defect (bug) (fixed)
Escape properly groups names on wp-admin groups delete confirmation page
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Administration | Keywords: | has-patch |
| Cc: |
Description
On this page /wp-admin/admin.php?page=bp-groups all groups names are escaped properly, if they have ' or " in names, example: What's League Of Legends?
But on groups deletion (bulk delete) pages like these /wp-admin/admin.php?s&page=bp-groups&action=delete&paged=1&gid[0]=134 groups names in a list are not escaped properly and I see What\'s League Of Legends? there.
Attachments (2)
Change History (6)
#2
@
10 years ago
@imath Why not using bp_get_group_name( $group )? It's basically the same, but more consistent, imo.
Patch attached.
Note: See
TracTickets for help on using
tickets.
Good catch, thanks for your feedback.