Opened 17 years ago
Closed 17 years ago
#906 closed defect (bug) (fixed)
Usernames with Apostrophe Causes Slashes in Members Widget
| Reported by: | korhanekinci | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | Version: | ||
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Milestone 1.0.4 deleted