Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/19/2011 02:55:32 PM (14 years ago)
Author:
boonebgorges
Message:

Abstracts component setup admin form and reinstates Component Setup dashboard panel. Changes the way that admin styles are loaded so that they load on each BP admin panel. Refactors some bp_is_x() functions so they don't throw errors when components are disabled. Fixes #2943

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r3742 r3745  
    511511    );
    512512
    513     if ( bp_forum_directory_is_disabled() ) {
     513    if ( !bp_is_active( 'forums' ) || bp_forum_directory_is_disabled() ) {
    514514        if ( !empty( $pages_args['exclude'] ) )
    515515                $pages_args['exclude'] .= ',';
Note: See TracChangeset for help on using the changeset viewer.