Skip to:
Content

BuddyPress.org

Ticket #1323: patch.diff

File patch.diff, 955 bytes (added by petronic, 15 years ago)
  • bp-activity.php

     
    8080        /* Register 'activity' as a root component (for RSS feed use) */
    8181        bp_core_add_root_component( BP_ACTIVITY_SLUG );
    8282}
    83 add_action( 'plugins_loaded', 'bp_activity_setup_root_component', 2 );
     83add_action( 'plugins_loaded', 'bp_activity_setup_root_component' );
    8484
    8585function bp_activity_setup_nav() {
    8686        global $bp;
  • bp-messages.php

     
    103103        if ( get_site_option('bp-messages-db-version') < BP_MESSAGES_DB_VERSION )
    104104                messages_install();
    105105}
    106 add_action( 'admin_menu', 'messages_check_installed', 2 );
     106add_action( 'admin_menu', 'messages_check_installed' );
    107107
    108108function messages_setup_nav() {
    109109        global $bp;