Ticket #2521: jeffsayre_2521_core_settings.patch
File jeffsayre_2521_core_settings.patch, 1.1 KB (added by , 14 years ago) |
---|
-
Volumes/Sayre
24 24 if ( !is_site_admin() && !(int) $bp->site_options['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_my_profile() ) ); 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( 'bp_setup_nav', 'bp_core_add_settings_nav' ); 29 28 30 29 /**** GENERAL SETTINGS ****/ 31 30