Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/05/2016 05:37:16 AM (9 years ago)
Author:
boonebgorges
Message:

Move bp-xprofile classes to their own files.

See #6870.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-component.php

    r10515 r10525  
    431431    }
    432432}
    433 
    434 /**
    435  * Bootstrap the XProfile component.
    436  */
    437 function bp_setup_xprofile() {
    438     $bp = buddypress();
    439 
    440     if ( ! isset( $bp->profile->id ) ) {
    441         $bp->profile = new BP_XProfile_Component();
    442     }
    443 }
    444 add_action( 'bp_setup_components', 'bp_setup_xprofile', 2 );
Note: See TracChangeset for help on using the changeset viewer.