Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/16/2011 10:22:39 PM (13 years ago)
Author:
boonebgorges
Message:

Refactors user_meta key filtering to remove overhead in the bp global. Fixes #2952. Props nacin.

File:
1 edited

Legend:

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

    r4372 r4378  
    524524
    525525    function total_favorite_count( $user_id ) {
    526         if ( !$favorite_activity_entries = get_user_meta( $user_id, bp_get_user_meta_key( 'favorite_activities' ), true ) )
     526        if ( !$favorite_activity_entries = get_user_meta( $user_id, bp_get_user_meta_key( 'bp_favorite_activities' ), true ) )
    527527            return 0;
    528528
Note: See TracChangeset for help on using the changeset viewer.