Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/12/2013 10:30:52 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Audit loader classes, and remove $bp global touches in lieu of using the buddypress() function. Also some whitespace clean-up.

File:
1 edited

Legend:

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

    r7289 r7347  
    6565         */
    6666        public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    67 
    68                 // Define local variable
    69                 $sub_nav = array();
    7067
    7168                // Add the settings navigation item
    … …  
    149146                $bp = buddypress();
    150147
    151                 // Prevent debug notices
    152                 $wp_admin_nav = array();
    153 
    154148                // Menus for logged in user
    155149                if ( is_user_logged_in() ) {
Note: See TracChangeset for help on using the changeset viewer.