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

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


#5228: Wrong total members count due to number_format_i18n
-------------------------------------------+---------------------------
 Reporter:  sgr33n                         |       Owner:  boonebgorges
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  1.9
Component:  Core                           |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  needs-patch reporter-feedback  |
-------------------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7516"]:
 {{{
 #!CommitTicketReference repository="" revision="7516"
 Don't auto-format bp_get_total_member_count()

 Filtering the output of bp_get_total_member_count() meant that the value
 was
 double-encoded in some places, causing problems for certain locales and
 certain
 numbers. Since number formatting is a display-related issue, we rely on
 the
 template to do the number formatting, and leave the the output of
 bp_get_total_member_count() in its raw form.

 Fixes #5228
 }}}

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


More information about the buddypress-trac mailing list