Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/16/2011 08:54:02 PM (15 years ago)
Author:
boonebgorges
Message:

Abstracts user_meta keys so that they can be filtered. Fixes #2952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-loader.php

    r4321 r4372  
    9393                );
    9494
     95                $user_meta_keys = array(
     96                        'profile_last_updated' => 'profile_last_updated'
     97                );
     98
    9599                $globals = array(
    96100                        'slug'                  => BP_XPROFILE_SLUG,
    97101                        'root_slug'             => isset( $bp->pages->xprofile->slug ) ? $bp->pages->xprofile->slug : BP_XPROFILE_SLUG,
    98102                        'notification_callback' => 'xprofile_format_notifications',
    99                         'global_tables'         => $global_tables
     103                        'global_tables'         => $global_tables,
     104                        'user_meta_keys'        => $user_meta_keys
    100105                );
    101106
Note: See TracChangeset for help on using the changeset viewer.