Ticket #1237: patch.diff
File patch.diff, 1.4 KB (added by , 15 years ago) |
---|
-
bp-friends.php
89 89 90 90 do_action( 'friends_setup_nav' ); 91 91 } 92 add_action( ' wp', 'friends_setup_nav', 2);93 add_action( 'admin_menu', 'friends_setup_nav' , 2);92 add_action( 'plugins_loaded', 'friends_setup_nav' ); 93 add_action( 'admin_menu', 'friends_setup_nav' ); 94 94 95 95 96 96 /******************************************************************************** -
bp-core/bp-core-settings.php
24 24 if ( !is_site_admin() && !(int) get_site_option( 'bp-disable-account-deletion' ) ) 25 25 bp_core_new_subnav_item( array( 'name' => __( 'Delete Account', 'buddypress' ), 'slug' => 'delete-account', 'parent_url' => $settings_link, 'parent_slug' => $bp->settings->slug, 'screen_function' => 'bp_core_screen_delete_account', 'position' => 90, 'user_has_access' => bp_is_home() ) ); 26 26 } 27 add_action( ' wp', 'bp_core_add_settings_nav', 2);28 add_action( 'admin_menu', 'bp_core_add_settings_nav' , 2);27 add_action( 'plugins_loaded', 'bp_core_add_settings_nav' ); 28 add_action( 'admin_menu', 'bp_core_add_settings_nav' ); 29 29 30 30 /**** GENERAL SETTINGS ****/ 31 31