Skip to:
Content

BuddyPress.org

Changeset 1244


Ignore:
Timestamp:
03/19/2009 09:00:08 PM (12 years ago)
Author:
apeatling
Message:

Fixes #603 props GIGALinux

Location:
trunk
Files:
4 edited

Legend:

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

    r1238 r1244  
    66
    77    /* Site Wide Activity Widget */
    8     register_sidebar_widget( __('Site Wide Activity', 'buddypress'), 'bp_activity_widget_sitewide_activity');
    9     register_widget_control( __('Site Wide Activity', 'buddypress'), 'bp_activity_widget_sitewide_activity_control' );
     8    wp_register_sidebar_widget( 'buddypress-activity', __('Site Wide Activity', 'buddypress'), 'bp_activity_widget_sitewide_activity');
     9    wp_register_widget_control( 'buddypress-activity', __('Site Wide Activity', 'buddypress'), 'bp_activity_widget_sitewide_activity_control' );
    1010}
    1111add_action( 'plugins_loaded', 'bp_activity_register_widgets' );
  • trunk/bp-blogs/bp-blogs-widgets.php

    r1135 r1244  
    66
    77    /* Latest Posts Widget */
    8     register_sidebar_widget( __('Recent Blog Posts', 'buddypress'), 'bp_blogs_widget_recent_posts');
    9     register_widget_control( __('Recent Blog Posts', 'buddypress'), 'bp_blogs_widget_recent_posts_control' );
     8    wp_register_sidebar_widget( 'buddypress-blogs', __('Recent Blog Posts', 'buddypress'), 'bp_blogs_widget_recent_posts');
     9    wp_register_widget_control( 'buddypress-blogs', __('Recent Blog Posts', 'buddypress'), 'bp_blogs_widget_recent_posts_control' );
    1010}
    1111add_action( 'plugins_loaded', 'bp_blogs_register_widgets' );
  • trunk/bp-core/bp-core-widgets.php

    r1238 r1244  
    66   
    77    /* Site welcome widget */
    8     register_sidebar_widget( __('Welcome', 'buddypress'), 'bp_core_widget_welcome');
    9     register_widget_control( __('Welcome', 'buddypress'), 'bp_core_widget_welcome_control' );
     8    wp_register_sidebar_widget( 'buddypress-welcome', __( 'Welcome', 'buddypress' ), 'bp_core_widget_welcome' );
     9    wp_register_widget_control( 'buddypress-welcome', __( 'Welcome', 'buddypress' ), 'bp_core_widget_welcome_control' );
    1010   
    1111    /* Site members widget */
    12     register_sidebar_widget( __('Members', 'buddypress'), 'bp_core_widget_members');
    13     register_widget_control( __('Members', 'buddypress'), 'bp_core_widget_members_control' );
     12    wp_register_sidebar_widget( 'buddypress-members', __( 'Members', 'buddypress' ), 'bp_core_widget_members' );
     13    wp_register_widget_control( 'buddypress-members', __( 'Members', 'buddypress' ), 'bp_core_widget_members_control' );
    1414   
    1515    /* Include the javascript needed for activated widgets only */
     
    1717        wp_enqueue_script( 'bp_core_widget_members-js', WPMU_PLUGIN_URL . '/bp-core/js/widget-members.js', array('jquery', 'jquery-livequery-pack') );     
    1818   
    19     /* Widgets that can be enabled anywhere */
    20     register_sidebar_widget( __('Who\'s Online', 'buddypress'), 'bp_core_widget_whos_online');
    21     register_widget_control( __('Who\'s Online', 'buddypress'), 'bp_core_widget_whos_online_control' );
     19    wp_register_sidebar_widget( 'buddypress-whosonline', __( "Who's Online", 'buddypress' ), 'bp_core_widget_whos_online' );
     20    wp_register_widget_control( 'buddypress-whosonline', __( "Who's Online", 'buddypress' ), 'bp_core_widget_whos_online_control' );   
    2221
    2322}
  • trunk/bp-groups/bp-groups-widgets.php

    r1238 r1244  
    66   
    77    /* Site welcome widget */
    8     register_sidebar_widget( __('Groups', 'buddypress'), 'groups_widget_groups_list');
    9     register_widget_control( __('Groups', 'buddypress'), 'groups_widget_groups_list_control' );
     8    wp_register_sidebar_widget( 'buddypress-groups', __( 'Groups', 'buddypress' ), 'groups_widget_groups_list' );
     9    wp_register_widget_control( 'buddypress-groups', __( 'Groups', 'buddypress' ), 'groups_widget_groups_list_control' );
    1010   
    1111    /* Include the javascript needed for activated widgets only */
Note: See TracChangeset for help on using the changeset viewer.