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-notifications/bp-notifications-filters.php

    r12416 r12669  
    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.