Changeset 2212 for trunk/bp-activity/bp-activity-classes.php
- Timestamp:
- 12/27/2009 01:04:36 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r2168 r2212 433 433 } 434 434 435 function total_favorite_count( $user_id ) { 436 global $bp; 437 438 if ( !$favorite_activity_entries = get_usermeta( $user_id, 'bp_favorite_activities' ) ) 439 return 0; 440 441 return count( maybe_unserialize( $favorite_activity_entries ) ); 442 } 443 435 444 function check_exists_by_content( $content ) { 436 445 global $wpdb, $bp;
Note: See TracChangeset
for help on using the changeset viewer.