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-core/bp-core-loader.php

    r4372 r4378  
    150150        // The user ID of the user who is currently logged in.
    151151        $bp->loggedin_user->id   = $current_user->ID;
    152        
    153         // Keys for BP user_meta
    154         $bp->user_meta_keys->last_activity  = apply_filters( 'bp_user_meta_key_last_activity', 'last_activity' );
    155         $bp->user_meta_keys->closed_notices     = apply_filters( 'bp_user_meta_key_closed_notices', 'closed_notices' );
    156152
    157153        /** Avatars ***********************************************************/
Note: See TracChangeset for help on using the changeset viewer.