Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/16/2020 05:27:38 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

Fixes #8311 (Trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/bp-notifications-filters.php

    r12416 r12670  
    11<?php
    22/**
    3  * Filters related to the Activity component.
     3 * Filters related to the Notifications component.
    44 *
    55 * @package BuddyPress
     
    77 * @since 4.0.0
    88 */
     9
     10
     11// Format numerical output.
     12add_filter( 'bp_notifications_get_total_notification_count', 'bp_core_number_format' );
    913
    1014// Privacy data export.
Note: See TracChangeset for help on using the changeset viewer.