[buddypress-trac] [BuddyPress] #2582: get_users_by_letter does not work with UTF-8 letters like å, ä and ö
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Aug 10 08:47:09 UTC 2010
#2582: get_users_by_letter does not work with UTF-8 letters like å, ä and ö
-----------------------------+----------------------------------------------
Reporter: Vincent Boiardt | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 1.2.5
Component: Core | Keywords:
-----------------------------+----------------------------------------------
On row 230 you find this
{{{
if ( strlen($letter) > 1 || is_numeric($letter) || !$letter )
return false;
}}}
The function strlen returns 2 for characters like å, ä and ö. So the
function will return false instead of the members, or groups, that you
want.
--
Ticket URL: <http://trac.buddypress.org/ticket/2582>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list