[buddypress-trac] [BuddyPress] #906: Usernames with Apostrophe Causes Slashes in Members Widget

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Aug 1 18:03:09 UTC 2009


#906: Usernames with Apostrophe Causes Slashes in Members Widget
-------------------------+--------------------------------------------------
Reporter:  korhanekinci  |       Owner:     
    Type:  defect        |      Status:  new
Priority:  major         |   Milestone:     
Keywords:                |  
-------------------------+--------------------------------------------------
 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' );

-- 
Ticket URL: <http://trac.buddypress.org/ticket/906>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list