Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 03:21:00 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Replace direct references to $bp user fullname and user_login with their functional equivalents, and kill off some $bp global usage in the process. See #3994, #3989.

File:
1 edited

Legend:

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

    r5704 r5705  
    108108     */
    109109    function setup_nav() {
    110         global $bp;
    111110
    112111        $sub_nav = array();
     
    228227                    'alt'     => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() )
    229228                ) );
    230                 $bp->bp_options_title = $bp->displayed_user->fullname;
     229                $bp->bp_options_title = bp_get_displayed_user_fullname();
    231230            }
    232231        }
Note: See TracChangeset for help on using the changeset viewer.