Skip to:
Content

BuddyPress.org

Changeset 1705 for trunk/bp-friends.php


Ignore:
Timestamp:
08/26/2009 04:21:57 PM (17 years ago)
Author:
apeatling
Message:

Added internal ID's to all components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends.php

    r1687 r1705  
    3939function friends_setup_globals() {
    4040        global $bp, $wpdb;
    41        
     41
     42        /* For internal identification */
     43        $bp->friends->id = 'friends';
     44               
    4245        $bp->friends->table_name = $wpdb->base_prefix . 'bp_friends';
    4346        $bp->friends->format_activity_function = 'friends_format_activity';
    4447        $bp->friends->format_notification_function = 'friends_format_notifications';
    45 
    4648        $bp->friends->slug = BP_FRIENDS_SLUG;
    4749
    48         $bp->version_numbers->friends = BP_FRIENDS_VERSION;
    4950}
    5051add_action( 'plugins_loaded', 'friends_setup_globals', 5 );     
Note: See TracChangeset for help on using the changeset viewer.