Changeset 7129
- Timestamp:
- 05/29/2013 02:41:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r7057 r7129 2401 2401 */ 2402 2402 function bp_get_total_favorite_count_for_user( $user_id = 0 ) { 2403 if ( ! $user_id ) { 2404 $user_id = bp_displayed_user_id(); 2405 } 2406 2403 2407 return apply_filters( 'bp_get_total_favorite_count_for_user', bp_activity_total_favorites_for_user( $user_id ) ); 2404 2408 } … … 2428 2432 */ 2429 2433 function bp_get_total_mention_count_for_user( $user_id = 0 ) { 2434 if ( ! $user_id ) { 2435 $user_id = bp_displayed_user_id(); 2436 } 2437 2430 2438 return apply_filters( 'bp_get_total_mention_count_for_user', bp_get_user_meta( $user_id, 'bp_new_mention_count', true ) ); 2431 2439 }
Note: See TracChangeset
for help on using the changeset viewer.