Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/15/2019 10:42:29 AM (4 years ago)
Author:
netweb
Message:

PHPCS: Use Parenthesis when instantiating a new object.

Props jrf.
See #3294.
For trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/loader.php

    r7006 r7046  
    147147
    148148        // Always load the members component
    149         bbpress()->extend->buddypress->members = new BBP_BuddyPress_Members;
     149        bbpress()->extend->buddypress->members = new BBP_BuddyPress_Members();
    150150
    151151        // Create new activity class
    152152        if ( bp_is_active( 'activity' ) ) {
    153             bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity;
     153            bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity();
    154154        }
    155155
Note: See TracChangeset for help on using the changeset viewer.