Skip to:
Content

BuddyPress.org

Changeset 1250 for trunk/bp-activity.php


Ignore:
Timestamp:
03/25/2009 04:01:43 PM (16 years ago)
Author:
apeatling
Message:

Removed blogs, groups and members directory from the home theme into the BuddyPress member theme. The directories now have their own templates and theme based CSS and provide much easier editing.

Moved the $bp global setup to a higher priority action - from the 'wp' action to the 'plugins_loaded' action. This stops occurrences where the $bp global was not defined yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r1227 r1250  
    170170    }
    171171}
    172 add_action( 'wp', 'bp_activity_setup_globals', 1 );
     172add_action( 'plugins_loaded', 'bp_activity_setup_globals', 5 );
    173173add_action( 'admin_menu', 'bp_activity_setup_globals', 1 );
    174174
     
    177177    bp_core_add_root_component( BP_ACTIVITY_SLUG );
    178178}
    179 add_action( 'plugins_loaded', 'bp_activity_setup_root_component' );
     179add_action( 'plugins_loaded', 'bp_activity_setup_root_component', 1 );
    180180
    181181
Note: See TracChangeset for help on using the changeset viewer.