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

    r4372 r4378  
    9393        );
    9494
    95         $user_meta_keys = array(
    96             'profile_last_updated' => 'profile_last_updated'
    97         );
    98 
    9995        $globals = array(
    10096            'slug'                  => BP_XPROFILE_SLUG,
    10197            'root_slug'             => isset( $bp->pages->xprofile->slug ) ? $bp->pages->xprofile->slug : BP_XPROFILE_SLUG,
    10298            'notification_callback' => 'xprofile_format_notifications',
    103             'global_tables'         => $global_tables,
    104             'user_meta_keys'    => $user_meta_keys
     99            'global_tables'         => $global_tables
    105100        );
    106101
Note: See TracChangeset for help on using the changeset viewer.