Skip to:
Content

BuddyPress.org

Changeset 869 for trunk/bp-forums.php


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

Removed dependency on the groups component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r754 r869  
    2121    if ( get_usermeta( $bp['loggedin_userid'], 'bb_capabilities' ) == '' )
    2222        bp_forums_make_user_active_member( $bp['loggedin_userid'] );
    23    
    24     if ( $bp['current_component'] == $bp['groups']['slug'] || $_GET['page'] == 'bp_forums_settings' ) {
    25         if ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) return;
    26         if ( defined('DOING_AJAX') && DOING_AJAX ) return;
    27        
    28         include_once( ABSPATH . WPINC . '/class-IXR.php' );
    29    
    30         $bbpress_live = new bbPress_Live();
    31     }
    3223}
    3324add_action( 'wp', 'bp_forums_setup', 3 );
Note: See TracChangeset for help on using the changeset viewer.