Skip to:
Content

BuddyPress.org

Ticket #3625: 3625.01.patch

File 3625.01.patch, 2.4 KB (added by boonebgorges, 13 years ago)
  • bp-core/bp-core-adminbar.php

    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() { 
    247247
    248248        wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_admin_bar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), '20110723' );
    249249}
    250 add_action( 'bp_init', 'bp_core_load_admin_bar_css' );
     250add_action( 'bp_init', 'bp_core_load_admin_bar_css', 8 );
    251251?>
     252 No newline at end of file
  • bp-core/bp-core-buddybar.php

    diff --git bp-core/bp-core-buddybar.php bp-core/bp-core-buddybar.php
    index 0cd1b0b..07aff3e 100644
    function bp_core_load_buddybar_css() { 
    623623
    624624        wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_buddybar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), '20110723' );
    625625}
    626 add_action( 'bp_init', 'bp_core_load_buddybar_css' );
     626add_action( 'bp_init', 'bp_core_load_buddybar_css', 8 );
    627627?>
     628 No newline at end of file
  • bp-core/bp-core-functions.php

    diff --git bp-core/bp-core-functions.php bp-core/bp-core-functions.php
    index 6eb4923..1fe915e 100644
    function bp_core_admin_menu_init() { 
    225225
    226226        require ( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-admin.php' );
    227227}
    228 add_action( 'bp_init', 'bp_core_admin_menu_init' );
     228add_action( 'bp_init', 'bp_core_admin_menu_init', 8 );
    229229
    230230/**
    231231 * Adds the "BuddyPress" admin submenu item to the Site Admin tab.
    function bp_core_add_ajax_hook() { 
    908908        if ( !defined( 'WP_ADMIN' ) && isset( $_REQUEST['action'] ) )
    909909                do_action( 'wp_ajax_' . $_REQUEST['action'] );
    910910}
    911 add_action( 'bp_init', 'bp_core_add_ajax_hook' );
     911add_action( 'bp_init', 'bp_core_add_ajax_hook', 8 );
    912912
    913913/**
    914914 * Initializes {@link BP_Embed} after everything is loaded.
  • bp-members/bp-members-signup.php

    diff --git bp-members/bp-members-signup.php bp-members/bp-members-signup.php
    index 1b549e7..6094986 100644
    function bp_core_wpsignup_redirect() { 
    610610        if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) )
    611611                bp_core_redirect( bp_get_signup_page() );
    612612}
    613 add_action( 'bp_init', 'bp_core_wpsignup_redirect' );
     613add_action( 'bp_init', 'bp_core_wpsignup_redirect', 8 );
    614614?>
     615 No newline at end of file