Skip to:
Content

BuddyPress.org

Changeset 7516


Ignore:
Timestamp:
11/05/2013 06:59:58 PM (11 years ago)
Author:
boonebgorges
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r7496 r7516  
    648648        return apply_filters( 'bp_get_total_member_count', bp_core_get_active_member_count() );
    649649    }
    650     add_filter( 'bp_get_total_member_count', 'bp_core_number_format' );
    651650
    652651/**
Note: See TracChangeset for help on using the changeset viewer.