Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-core/bp-core-widgets.php

    r4820 r5200  
    2323        parent::__construct( false, $name = __( 'Members', 'buddypress' ), $widget_ops );
    2424
    25         if ( is_active_widget( false, false, $this->id_base ) ) {
     25        if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) {
    2626            if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
    2727                wp_enqueue_script( 'bp_core_widget_members-js', BP_PLUGIN_URL . '/bp-core/js/widget-members.dev.js', array( 'jquery' ), '20110723' );
Note: See TracChangeset for help on using the changeset viewer.