[buddypress-trac] [BuddyPress] #5228: Wrong total members count due to number_format_i18n

buddypress-trac noreply at wordpress.org
Tue Nov 5 11:30:59 UTC 2013


#5228: Wrong total members count due to number_format_i18n
--------------------------+-----------------------------
 Reporter:  sgr33n        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 number_format_i18n doesn't work as it should on bp-members-template.php on
 line 347.

 I'm using the italian internationalization and I have 8916 members in the
 database, so 8916 becomes 8.916, then (maybe there is an (int) filter)
 becomes 9... so it displays a total of 9 members.

 To fix remove number_format_i18n on the lines 347, 349, 351, 353.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5228>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list