Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2011 02:56:29 AM (14 years ago)
Author:
boonebgorges
Message:

Make certain that BP core files are included early enough for plugins using the BP Group Extension to work

File:
1 edited

Legend:

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

    r3937 r3979  
    179179        add_action( 'bp_setup_globals',            array ( $this, '_setup_globals'           ), 10 );
    180180
    181         // Register post types
    182         add_action( 'bp_include',                  array ( $this, '_includes'                ), 10 );
     181        // Include required files. Called early to ensure that BP core components are
     182        // loaded before plugins that hook their loader functions to bp_include with
     183        // the default priority of 10. This is for backwards compatibility; henceforth,
     184        // plugins should register themselves by extending this base class.
     185        add_action( 'bp_include',                  array ( $this, '_includes'                ), 8 );
    183186
    184187        // Register post types
Note: See TracChangeset for help on using the changeset viewer.