Skip to:
Content

BuddyPress.org

Changeset 1718 for trunk/bp-wire.php


Ignore:
Timestamp:
08/27/2009 09:18:10 PM (17 years ago)
Author:
apeatling
Message:

Fixes #723

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire.php

    r1705 r1718  
    2424   
    2525    $bp->wire->slug = BP_WIRE_SLUG;
     26   
     27    /* Register this in the active components array */
     28    $bp->active_components[$bp->wire->slug] = $bp->wire->id;
    2629}
    2730add_action( 'plugins_loaded', 'bp_wire_setup_globals', 5 );
     
    3235
    3336    /* Add 'Wire' to the main navigation */
    34     bp_core_new_nav_item( array( 'name' => __('Wire', 'buddypress'), 'slug' => $bp->wire->slug, 'position' => 40, 'screen_function' => 'bp_wire_screen_latest', 'default_subnav_slug' => 'all-posts', '' ) );
     37    bp_core_new_nav_item( array( 'name' => __('Wire', 'buddypress'), 'slug' => $bp->wire->slug, 'position' => 40, 'screen_function' => 'bp_wire_screen_latest', 'default_subnav_slug' => 'all-posts', 'item_css_id' => $bp->wire->id ) );
    3538
    3639    $wire_link = $bp->loggedin_user->domain . $bp->wire->slug . '/';
Note: See TracChangeset for help on using the changeset viewer.