Skip to:
Content

BuddyPress.org

Changeset 10440


Ignore:
Timestamp:
01/07/2016 04:20:54 PM (8 years ago)
Author:
boonebgorges
Message:

Remove PHP4-style constructor from BP_Groups_Widget.

The constructor is no longer needed, and contains a typo that would cause a
fatal error if it were ever called.

Props sbrajesh, tw2113.
See #6721.

File:
1 edited

Legend:

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

    r10417 r10440  
    3838            wp_enqueue_script( 'groups_widget_groups_list-js', buddypress()->plugin_url . "bp-groups/js/widget-groups{$min}.js", array( 'jquery' ), bp_get_version() );
    3939        }
    40     }
    41 
    42     /**
    43      * PHP4 constructor
    44      *
    45      * For backward compatibility only
    46      */
    47     function bp_groups_widget() {
    48         $this->_construct();
    4940    }
    5041
Note: See TracChangeset for help on using the changeset viewer.