Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/16/2020 05:24:41 AM (5 years ago)
Author:
imath
Message:

BP Nouveau: make sure to format the total objects count once only

This is a follow up of [12619] & [12634] to apply the fix to the "my blogs", "my notifications", "my groups" and "my friends" count.

props etatus

See #8311 (Branch 6.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0/src/bp-templates/bp-nouveau/includes/groups/loader.php

    r12634 r12669  
    44 *
    55 * @since 3.0.0
    6  * @version 6.0.0
     6 * @version 6.1.0
    77 */
    88
     
    134134        // The number formatting is done into the `bp_nouveau_nav_count()` template tag.
    135135        remove_filter( 'bp_get_total_group_count', 'bp_core_number_format' );
     136        remove_filter( 'bp_get_total_group_count_for_user', 'bp_core_number_format' );
    136137    }
    137138
Note: See TracChangeset for help on using the changeset viewer.