Changeset 3487
- Timestamp:
- 11/27/2010 02:02:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-settings.php
r3466 r3487 24 24 if ( !is_super_admin() && !isset( $bp->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_my_profile() ) ); 26 27 do_action( 'bp_core_settings_setup_nav' ); 26 28 } 27 29 add_action( 'bp_setup_nav', 'bp_core_add_settings_nav' );
Note: See TracChangeset
for help on using the changeset viewer.