Opened 15 years ago
Closed 15 years ago
#906 closed defect (bug) (fixed)
Usernames with Apostrophe Causes Slashes in Members Widget
Reported by: | korhanekinci | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
I had a problem with member widget, username of someone contains apostrophe. I solved the problem by hacking bp-core-templatetags.php file and this line. I added stripslashes to the function.
function bp_get_the_site_member_name() {
global $site_members_template;
return stripslashes( apply_filters( 'bp_get_the_site_member_name', $site_members_template->member->fullname ));
}
add_filter( 'bp_get_the_site_member_name', 'wp_filter_kses' );
Change History (3)
Note: See
TracTickets for help on using
tickets.
Milestone 1.0.4 deleted