Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/09/2012 09:38:45 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Remove a bunch of unneeded globals and clean up some code in Core component. See #3989.

File:
1 edited

Legend:

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

    r5574 r5683  
    3232
    3333    function widget( $args, $instance ) {
    34         global $bp;
    3534
    3635        extract( $args );
     
    160159
    161160    function widget($args, $instance) {
    162         global $bp;
    163161
    164162        extract( $args );
     
    228226    }
    229227
    230     function widget($args, $instance) {
    231         global $bp;
     228    function widget( $args, $instance ) {
    232229
    233230        extract( $args );
     
    287284
    288285function bp_core_ajax_widget_members() {
    289     global $bp;
    290286
    291287    check_ajax_referer( 'bp_core_widget_members' );
Note: See TracChangeset for help on using the changeset viewer.