Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/27/2024 04:54:18 PM (11 months ago)
Author:
espellcaste
Message:

Unit tests: Add test that confirms the multisite query for bp_core_get_active_member_count() excludes the spam status.

Props imath, johnjamesjacoby.

Closes https://github.com/buddypress/buddypress/pull/328
Fixes #6155

File:
1 edited

Legend:

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

    r13897 r13981  
    982982}
    983983    /**
    984      * Return the total member count in your BP instance.
     984     * Return the total member count for the site.
    985985     *
    986986     * Since BuddyPress 1.6, this function has used bp_core_get_active_member_count(),
     
    10001000
    10011001        /**
    1002          * Filters the total member count in your BP instance.
     1002         * Filters the total member count for the site.
    10031003         *
    10041004         * @since 1.2.0
    10051005         *
    1006          * @param int $value Member count.
     1006         * @param int $member_count Member count.
    10071007         */
    10081008        return apply_filters( 'bp_get_total_member_count', bp_core_get_active_member_count() );
Note: See TracChangeset for help on using the changeset viewer.