diff --git bp-core/bp-core-adminbar.php bp-core/bp-core-adminbar.php
index 5e4f9fe..13c28b0 100644
|
|
function bp_core_load_admin_bar_css() { |
247 | 247 | |
248 | 248 | wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_admin_bar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), '20110723' ); |
249 | 249 | } |
250 | | add_action( 'bp_init', 'bp_core_load_admin_bar_css' ); |
| 250 | add_action( 'bp_init', 'bp_core_load_admin_bar_css', 8 ); |
251 | 251 | ?> |
| 252 | No newline at end of file |
diff --git bp-core/bp-core-buddybar.php bp-core/bp-core-buddybar.php
index 0cd1b0b..07aff3e 100644
|
|
function bp_core_load_buddybar_css() { |
623 | 623 | |
624 | 624 | wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_buddybar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), '20110723' ); |
625 | 625 | } |
626 | | add_action( 'bp_init', 'bp_core_load_buddybar_css' ); |
| 626 | add_action( 'bp_init', 'bp_core_load_buddybar_css', 8 ); |
627 | 627 | ?> |
| 628 | No newline at end of file |
diff --git bp-core/bp-core-functions.php bp-core/bp-core-functions.php
index 6eb4923..1fe915e 100644
|
|
function bp_core_admin_menu_init() { |
225 | 225 | |
226 | 226 | require ( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-admin.php' ); |
227 | 227 | } |
228 | | add_action( 'bp_init', 'bp_core_admin_menu_init' ); |
| 228 | add_action( 'bp_init', 'bp_core_admin_menu_init', 8 ); |
229 | 229 | |
230 | 230 | /** |
231 | 231 | * Adds the "BuddyPress" admin submenu item to the Site Admin tab. |
… |
… |
function bp_core_add_ajax_hook() { |
908 | 908 | if ( !defined( 'WP_ADMIN' ) && isset( $_REQUEST['action'] ) ) |
909 | 909 | do_action( 'wp_ajax_' . $_REQUEST['action'] ); |
910 | 910 | } |
911 | | add_action( 'bp_init', 'bp_core_add_ajax_hook' ); |
| 911 | add_action( 'bp_init', 'bp_core_add_ajax_hook', 8 ); |
912 | 912 | |
913 | 913 | /** |
914 | 914 | * Initializes {@link BP_Embed} after everything is loaded. |
diff --git bp-members/bp-members-signup.php bp-members/bp-members-signup.php
index 1b549e7..6094986 100644
|
|
function bp_core_wpsignup_redirect() { |
610 | 610 | if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) ) |
611 | 611 | bp_core_redirect( bp_get_signup_page() ); |
612 | 612 | } |
613 | | add_action( 'bp_init', 'bp_core_wpsignup_redirect' ); |
| 613 | add_action( 'bp_init', 'bp_core_wpsignup_redirect', 8 ); |
614 | 614 | ?> |
| 615 | No newline at end of file |