Changeset 5200
- Timestamp:
- 09/30/2011 08:19:14 PM (13 years ago)
- Location:
- branches/1.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-core/bp-core-widgets.php
r4820 r5200 23 23 parent::__construct( false, $name = __( 'Members', 'buddypress' ), $widget_ops ); 24 24 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() ) { 26 26 if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) 27 27 wp_enqueue_script( 'bp_core_widget_members-js', BP_PLUGIN_URL . '/bp-core/js/widget-members.dev.js', array( 'jquery' ), '20110723' ); -
branches/1.5/bp-groups/bp-groups-widgets.php
r4961 r5200 20 20 parent::__construct( false, __( 'Groups', 'buddypress' ), $widget_ops ); 21 21 22 if ( is_active_widget( false, false, $this->id_base ) ) {22 if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) { 23 23 if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) 24 24 wp_enqueue_script( 'groups_widget_groups_list-js', BP_PLUGIN_URL . '/bp-groups/js/widget-groups.dev.js', array( 'jquery' ) );
Note: See TracChangeset
for help on using the changeset viewer.