Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/06/2008 07:41:52 PM (18 years ago)
Author:
apeatling
Message:
  • FIxed "Send Message" button displaying when user is not logged in
  • Fixed "Notifications" settings screen not displaying correctly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-settings.php

    r513 r636  
    77        bp_core_add_nav_default( 'settings', 'bp_core_screen_general_settings', 'general', false );
    88       
    9         bp_core_add_subnav_item( 'settings', 'general', __('General', 'buddypress'), $bp['loggedin_domain'] . 'settings/', 'bp_core_screen_general_settings', false, false );
    10         bp_core_add_subnav_item( 'settings', 'notifications', __('Notifications', 'buddypress'), $bp['loggedin_domain'] . 'settings/', 'bp_core_screen_notification_settings', false, false );
     9        bp_core_add_subnav_item( 'settings', 'general', __('General', 'buddypress'), $bp['loggedin_domain'] . 'settings/', 'bp_core_screen_general_settings', false, bp_is_home() );
     10        bp_core_add_subnav_item( 'settings', 'notifications', __('Notifications', 'buddypress'), $bp['loggedin_domain'] . 'settings/', 'bp_core_screen_notification_settings', false, bp_is_home() );
    1111}
    1212add_action( 'wp', 'bp_core_add_settings_nav', 2 );
Note: See TracChangeset for help on using the changeset viewer.