Changeset 1718 for trunk/bp-wire.php
- Timestamp:
- 08/27/2009 09:18:10 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-wire.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-wire.php
r1705 r1718 24 24 25 25 $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; 26 29 } 27 30 add_action( 'plugins_loaded', 'bp_wire_setup_globals', 5 ); … … 32 35 33 36 /* 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 ) ); 35 38 36 39 $wire_link = $bp->loggedin_user->domain . $bp->wire->slug . '/';
Note: See TracChangeset
for help on using the changeset viewer.