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

buddypress-trac noreply at wordpress.org
Thu Nov 7 15:10:12 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  |
-------------------------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"7520"]:
 {{{
 #!CommitTicketReference repository="" revision="7520"
 Improvements to i18n number formatting in activity count
 functions/templates

 This changeset makes number formatting more consistent in the activity
 templates of bp-legacy. The logic is as follows:

 - Move all number formatting out of the templates and into the relevant
   -template.php file.
 - Add number formatting to those _count() template functions that were
 missing
   it.
 - Clean up sprintf() swapping arguments to account for string vs int
 number
   formats

 See #4997, #5228

 Fixes #5231
 }}}

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


More information about the buddypress-trac mailing list