Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/30/2012 07:52:58 PM (13 years ago)
Author:
boonebgorges
Message:

Avoid PHP 5.4 strict errors when xprofile component is disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-loader.php

    r6093 r6278  
    9999
    100100        if ( !bp_is_active( 'xprofile' ) ) {
     101            $bp->profile       = new stdClass;
    101102            $bp->profile->slug = 'profile';
    102103            $bp->profile->id   = 'profile';
Note: See TracChangeset for help on using the changeset viewer.