Skip to:
Content

BuddyPress.org

Changeset 2789


Ignore:
Timestamp:
02/25/2010 03:40:04 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Second pass at adjusting action priorities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core.php

    r2788 r2789  
    21262126        do_action( 'bp_setup_globals' );
    21272127}
    2128 add_action( 'bp_init', 'bp_setup_globals', 5 );
     2128add_action( 'bp_init', 'bp_setup_globals', 50 );
    21292129
    21302130/* Allow core components and dependent plugins to set root components */
     
    21322132        do_action( 'bp_setup_root_components' );
    21332133}
    2134 add_action( 'bp_init', 'bp_setup_root_components', 2 );
     2134add_action( 'bp_init', 'bp_setup_root_components', 20 );
    21352135
    21362136/* Allow core components and dependent plugins to set their nav */
     
    21382138        do_action( 'bp_setup_nav' );
    21392139}
    2140 add_action( 'bp_init', 'bp_setup_nav', 6 );
     2140add_action( 'bp_init', 'bp_setup_nav', 60 );
    21412141
    21422142/* Allow core components and dependent plugins to register widgets */
     
    21442144        do_action( 'bp_register_widgets' );
    21452145}
    2146 add_action( 'bp_init', 'bp_setup_widgets', 7 );
     2146add_action( 'bp_init', 'bp_setup_widgets', 70 );
    21472147
    21482148
Note: See TracChangeset for help on using the changeset viewer.