[buddypress-trac] [BuddyPress] #4997: Friend, mention, group counts etc should be run through number_format_i18n() before echoing
buddypress-trac
noreply at wordpress.org
Thu Nov 7 15:10:12 UTC 2013
#4997: Friend, mention, group counts etc should be run through
number_format_i18n() before echoing
--------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 1.8
Component: Theme | Version:
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------------
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/4997#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list