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

    r4321 r4372  
    7474                        'table_name_groupmeta' => $bp->table_prefix . 'bp_groups_groupmeta'
    7575                );
     76               
     77                // User meta_keys
     78                $user_meta_keys = array(
     79                        'total_group_count'                         => 'total_group_count',
     80                        'notification_groups_group_updated'         => 'notification_groups_group_updated',
     81                        'notification_groups_membership_request'    => 'notification_groups_membership_request',
     82                        'notification_membership_request_completed' => 'notification_membership_request_completed',
     83                        'notification_groups_invite'                => 'notification_groups_invite',
     84                        'notification_groups_admin_promotion'       => 'notification_groups_admin_promotion'
     85                );
    7686
    7787                // All globals for messaging component.
     
    8393                        'search_string'         => __( 'Search Groups...', 'buddypress' ),
    8494                        'global_tables'         => $global_tables,
     95                        'user_meta_keys'        => $user_meta_keys
    8596                );
    8697
Note: See TracChangeset for help on using the changeset viewer.