Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/23/2009 12:57:08 AM (17 years ago)
Author:
apeatling
Message:

Removing deprecated widget CSS now in theme. Reducing the number of http requests on each page load.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-widgets.php

    r1905 r1926  
    1313                parent::WP_Widget( false, $name = __( 'Groups', 'buddypress' ) );
    1414               
    15                 wp_enqueue_script( 'groups_widget_groups_list-js', BP_PLUGIN_URL . '/bp-groups/js/widget-groups.js', array('jquery', 'jquery-livequery-pack') );               
    16                 wp_enqueue_style( 'groups_widget_members-css', BP_PLUGIN_URL . '/bp-groups/css/widget-groups.css' );           
     15                if ( is_active_widget( false, false, $this->id_base ) )
     16                        wp_enqueue_script( 'groups_widget_groups_list-js', BP_PLUGIN_URL . '/bp-groups/js/widget-groups.js', array('jquery', 'jquery-livequery-pack') );               
    1717        }
    1818
Note: See TracChangeset for help on using the changeset viewer.