Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/13/2013 10:26:17 AM (13 years ago)
Author:
boonebgorges
Message:

Fix incorrect function call in bp_total_mention_count_for_user()

It appears that, since bp_total_mention_count_for_user() was introduced in
r2287, it has echoed the output of the incorrect function (_favorite_count_
rather than _mention_count_). It was probably never noticed because BP never
uses the echo function natively; we always use the _get_ function in the
context of a sprintf().

File:
1 edited

Legend:

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

    r6977 r7057  
    24142414 */
    24152415function bp_total_mention_count_for_user( $user_id = 0 ) {
    2416         echo bp_get_total_favorite_count_for_user( $user_id );
     2416        echo bp_get_total_mention_count_for_user( $user_id );
    24172417}
    24182418
Note: See TracChangeset for help on using the changeset viewer.