Skip to:
Content

BuddyPress.org

Changeset 1891 for trunk/bp-wire.php


Ignore:
Timestamp:
09/16/2009 09:23:40 PM (16 years ago)
Author:
apeatling
Message:

Fixing profile pages to work when xprofile is disabled. Added more extensive options to groups_invite_user().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire.php

    r1809 r1891  
    3434    global $bp;
    3535
     36    /* Profile wire's will only work if xprofile is enabled */
     37    if ( !function_exists( 'xprofile_install' ) )
     38        return false;
     39       
    3640    /* Add 'Wire' to the main navigation */
    3741    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 ) );
Note: See TracChangeset for help on using the changeset viewer.