Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/09/2011 05:32:00 PM (15 years ago)
Author:
boonebgorges
Message:

Adds warning notices to Dashboard when required BP component directory pages are missing. Fixes #3026. Adds warning notices to Dashboard when bp-pages are present but the corresponding component is deactivated. Fixes #3025. Removes root_slug declaration from components that should not have top-level directories.

File:
1 edited

Legend:

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

    r4154 r4183  
    6262            define( 'BP_FRIENDS_SLUG', $this->id );
    6363
    64         // Global tables for messaging component
     64        // Global tables for the friends component
    6565        $global_tables = array(
    6666            'table_name'      => $bp->table_prefix . 'bp_friends',
     
    6868        );
    6969
    70         // All globals for messaging component.
     70        // All globals for the friends component.
    7171        // Note that global_tables is included in this array.
    7272        $globals = array(
    7373            'path'                  => BP_PLUGIN_DIR,
    7474            'slug'                  => BP_FRIENDS_SLUG,
    75             'root_slug'             => isset( $bp->pages->friends->slug ) ? $bp->pages->friends->slug : BP_FRIENDS_SLUG,
    7675            'search_string'         => __( 'Search Friends...', 'buddypress' ),
    7776            'notification_callback' => 'friends_format_notifications',
Note: See TracChangeset for help on using the changeset viewer.