Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/19/2009 04:56:14 AM (16 years ago)
Author:
apeatling
Message:

Removed dependency on the groups component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-admin.php

    r827 r869  
    55    if ( is_site_admin() ) {
    66        /* Add the administration tab under the "Site Admin" tab for site administrators */
    7         add_submenu_page( 'wpmu-admin.php', __( 'Group Forums', 'buddypress' ), __( 'Group Forums', 'buddypress' ), 1, "bp_forums_settings", "bp_forums_bbpress_admin" );
     7        add_submenu_page( 'wpmu-admin.php', __( 'bbPress Forums', 'buddypress' ), __( 'bbPress Forums', 'buddypress' ), 1, "bp_forums_settings", "bp_forums_bbpress_admin" );
    88    }
    99}
     
    1212function bp_forums_bbpress_admin() {
    1313    global $bp, $bbpress_live;
     14   
     15    if ( !is_object( $bbpress_live ) ) {
     16        include_once( ABSPATH . WPINC . '/class-IXR.php' );
     17        $bbpress_live = new bbPress_Live();
     18    }
    1419   
    1520    if ( isset( $_POST['submit'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.