Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2014 02:58:50 AM (11 years ago)
Author:
boonebgorges
Message:

Migrate groupmeta functions to the WP metadata API

See #4551

Props boonebgorges, johnjamesjacoby

File:
1 edited

Legend:

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

    r7758 r7840  
    137137        );
    138138
     139        // Metadata tables for groups component
     140        $meta_tables = array(
     141            'group' => $bp->table_prefix . 'bp_groups_groupmeta',
     142        );
     143
    139144        // All globals for groups component.
    140145        // Note that global_tables is included in this array.
     
    145150            'notification_callback' => 'groups_format_notifications',
    146151            'search_string'         => __( 'Search Groups...', 'buddypress' ),
    147             'global_tables'         => $global_tables
     152            'global_tables'         => $global_tables,
     153            'meta_tables'           => $meta_tables,
    148154        );
    149155
Note: See TracChangeset for help on using the changeset viewer.